wordpress/wp-content/themes/basic/themify/themify-builder/classes/class-themify-builder.php
/**
	 * Load JS and CSs for async loader.
	 *
	 * @since 2.1.9
	 */
Load JS and CSs for async loader.
Load JS and CSs for async loader .
public function async_footer() {
	    wp_deregister_script('wp-embed');
	    $editorUrl=THEMIFY_BUILDER_URI.'/css/editor/';
	    themify_enque_style('themify-builder-loader', themify_enque($editorUrl . 'themify.builder.loader.css'), null, THEMIFY_VERSION,'all',true);
	    wp_enqueue_script('themify-builder-loader', themify_enque(THEMIFY_BUILDER_URI . '/js/editor/frontend/themify.builder.loader.js'), array('jquery'), THEMIFY_VERSION, true);
		$styles=array(
		    themify_enque(THEMIFY_URI . '/css/base.min.css')=>THEMIFY_VERSION,
		    themify_enque($editorUrl . 'combine.css')=>THEMIFY_VERSION,
		    themify_enque($editorUrl . 'toolbar.css')=>THEMIFY_VERSION
		);
		if(is_rtl()){
		    $styles[themify_enque($editorUrl . 'rtl/toolbar-rtl.css')]=THEMIFY_VERSION;
		}
		$styles[themify_enque($editorUrl . 'themify.combobox.css')]=THEMIFY_VERSION;
		$styles[themify_enque(THEMIFY_METABOX_URI . 'css/jquery.minicolors.css')]=THEMIFY_VERSION;
		wp_localize_script('themify-builder-loader', 'tbLoaderVars', array(
			'styles' => apply_filters('themify_styles_top_frame', array_reverse($styles)),
			'turnOnBuilder' => __('Turn On Builder', 'themify'),
			'turnOnLpBuilder' => __('Edit Layout Part', 'themify'),
			'editTemplate'=>__('Edit Template','themify'),
			'isGlobalStylePost' => Themify_Global_Styles::$isGlobalEditPage
		));
		$styles=null;
	}
public function async_footer ( ) { wp_deregister_script ( 'wp-embed' ) ; $ editorUrl = THEMIFY_BUILDER_URI . '/css/editor/' ; themify_enque_style ( 'themify-builder-loader' , themify_enque ( $ editorUrl . 'themify.builder.loader.css' ) , null , THEMIFY_VERSION , 'all' , true ) ; wp_enqueue_script ( 'themify-builder-loader' , themify_enque ( THEMIFY_BUILDER_URI . '/js/editor/frontend/themify.builder.loader.js' ) , array ( 'jquery' ) , THEMIFY_VERSION , true ) ; $ styles = array ( themify_enque ( THEMIFY_URI . '/css/base.min.css' ) => THEMIFY_VERSION , themify_enque ( $ editorUrl . 'combine.css' ) => THEMIFY_VERSION , themify_enque ( $ editorUrl . 'toolbar.css' ) => THEMIFY_VERSION ) ; if ( is_rtl ( ) ) { $ styles [ themify_enque ( $ editorUrl . 'rtl/toolbar-rtl.css' ) ] = THEMIFY_VERSION ; } $ styles [ themify_enque ( $ editorUrl . 'themify.combobox.css' ) ] = THEMIFY_VERSION ; $ styles [ themify_enque ( THEMIFY_METABOX_URI . 'css/jquery.minicolors.css' ) ] = THEMIFY_VERSION ; wp_localize_script ( 'themify-builder-loader' , 'tbLoaderVars' , array ( 'styles' => apply_filters ( 'themify_styles_top_frame' , array_reverse ( $ styles ) ) , 'turnOnBuilder' => __ ( 'Turn On Builder' , 'themify' ) , 'turnOnLpBuilder' => __ ( 'Edit Layout Part' , 'themify' ) , 'editTemplate' => __ ( 'Edit Template' , 'themify' ) , 'isGlobalStylePost' => Themify_Global_Styles :: $ isGlobalEditPage ) ) ; $ styles = null ; }
Load JS and CSs for async loader.
Load JS and CSs for async loader .
/*
	    if (current_user_can('upload_files')) {
			wp_enqueue_media();
	    }
			'<div style="display:none;">';
		    wp_editor(' ', 'tb_lb_hidden_editor');
		echo '</div>';*/