403Webshell
Server IP : 104.26.4.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/leapdubai/public_html/wp-content/plugins/kirki/customizer/packages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/leapdubai/public_html/wp-content/plugins/kirki/customizer/packages/index.php
<?php
defined( 'ABSPATH' ) || exit;

if ( ! function_exists( 'kirki_init_controls' ) ) {

	/**
	 * Init Kirki controls.
	 */
	function kirki_init_controls() {

		$autoload_path = __DIR__ . '/autoload.php';

		if ( file_exists( $autoload_path ) ) {
			require_once $autoload_path;
		}

		// Load Pro namespace compatibility for backward compatibility.
		$compatibility_path = __DIR__ . '/compatibility/src/Pro_Namespace_Compatibility.php';
		if ( file_exists( $compatibility_path ) ) {
			require_once $compatibility_path;
		}

		$packages = array(
			__DIR__ . '/controls/headline-divider',
			__DIR__ . '/controls/input-slider',
			__DIR__ . '/controls/margin-padding',
			__DIR__ . '/controls/responsive',
			__DIR__ . '/controls/tabs',
		);

		foreach ( $packages as $package ) {
			$package_name = basename( $package );
			$init_class_name = str_ireplace( '-', ' ', $package_name );
			$init_class_name = ucwords( $init_class_name );
			$init_class_name = str_ireplace( ' ', '', $init_class_name );
			$init_class_name = '\\Kirki\\' . $init_class_name . '\\Init';

			$init_file_path = $package . '/' . basename( $package ) . '.php';

			if ( file_exists( $init_file_path ) ) {
				include_once $init_file_path;
			}

			if ( class_exists( $init_class_name ) ) {
				new $init_class_name();
			}
		}

	}
}

if ( ! function_exists( 'kirki_load_controls' ) ) {

	/**
	 * Load Kirki controls.
	 */
	function kirki_load_controls() {

		// Stop, if Kirki is not installed.
		if ( ! defined( 'KIRKI_VERSION' ) ) {
			return;
		}

		// Stop, if Kirki controls are already loaded.
		if ( defined( 'KIRKI_CONTROLS_VERSION' ) ) {
			return;
		}

		$plugin_file = defined( 'KIRKI_PLUGIN_FILE' ) ? KIRKI_PLUGIN_FILE : __FILE__;
		define( 'KIRKI_CONTROLS_VERSION', KIRKI_VERSION );
		define( 'KIRKI_CONTROLS_PLUGIN_FILE', $plugin_file );

		kirki_init_controls();

	}

	add_action( 'plugins_loaded', 'kirki_load_controls' );

}

Youez - 2016 - github.com/yon3zu
LinuXploit