403Webshell
Server IP : 14.225.204.176  /  Your IP : 216.73.216.252
Web Server : nginx/1.24.0
System : Linux nodejs-ybgk 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64
User : root ( 0)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/php/langngon.com/wp-content/themes/langngon/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/php/langngon.com/wp-content/themes/langngon/lib/acf.php
<?php 

if ( function_exists('acf_add_options_page') ) {
  acf_add_options_page();
}

// Advanced Custom Fields
if( function_exists('acf_add_options_sub_page') ) {
  acf_add_options_sub_page( 'Settings Làng Ngon' );
  acf_add_options_sub_page( 'Slider & Banner' );
}

// Show only published posts in ACF relationship and post object fields
function acf_filter_published( $args, $field, $post ) {
  $args['post_status'] = 'publish';
  return $args;
}
add_filter('acf/fields/relationship/query', 'acf_filter_published', 10, 3);
add_filter('acf/fields/post_object/query', 'acf_filter_published', 10, 3);

// Function options base
get_template_part('class/GeneralSettings');
get_template_part('class/Footer');
get_template_part('class/SocialSettings');
// get_template_part('class/Header');
// get_template_part('class/LayoutSettings');
// get_template_part('class/SinglePagePost');
// get_template_part('class/SliderOptions');
// get_template_part('class/TextSetting');
get_template_part('class/ContactPage');
// get_template_part('class/CategorySettings');
// get_template_part('class/Advertisement');
// get_template_part('class/Sidebar');
// get_template_part('class/HomePage');

?>

Youez - 2016 - github.com/yon3zu
LinuXploit