403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.16.48.143
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/bnnagency.com/wp-content/themes/flatsome/inc/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/bnnagency.com/wp-content/themes/flatsome/inc/admin/kirki-config.php
<?php
/**
 * Configuration for the Kirki Customizer
 */

if ( ! function_exists( 'flatsome_kirki_update_url' ) ) {
	function flatsome_kirki_update_url( $config ) {
		$config['url_path'] = get_template_directory_uri() . '/inc/admin/kirki/';

		return $config;
	}
}
add_filter( 'kirki_config', 'flatsome_kirki_update_url' );

/**
 * Disable default Kirki modules.
 *
 * @param array $modules List of default modules.
 *
 * @return array Filtered list of modules.
 */
function flatsome_kirki_modules( $modules ) {
	unset( $modules['css'] );
	unset( $modules['css-vars'] );
	unset( $modules['icons'] );
	unset( $modules['loading'] );
	unset( $modules['selective-refresh'] );
	unset( $modules['gutenberg'] );

	return $modules;
}

add_filter( 'kirki_modules', 'flatsome_kirki_modules' );

/**
 * Custom option sanitize callback.
 */
function flatsome_custom_sanitize( $content ) {
	return $content;
}

Flatsome_Option::add_config( 'option', array(
	'option_type'    => 'theme_mod',
	'capability'     => 'edit_theme_options',
	'disable_output' => true,
) );

Youez - 2016 - github.com/yon3zu
LinuXploit