PATH:
home
/
lab2454c
/
equitablegold.com
/
wp-content
/
plugins
/
unlimited-elements-for-elementor
/
provider
<?php /** * @package Unlimited Elements * @author unlimited-elements.com * @copyright (C) 2012 Unite CMS, All Rights Reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html * */ defined('UNLIMITED_ELEMENTS_INC') or die('Restricted access'); class UniteCreatorOutput extends UniteCreatorOutputWork{ private static $arrStyleHandlesCache = null; private static $arrScriptsHandlesCache = null; /** * process html before output, function for override */ protected function processHtml($html){ $html = do_shortcode($html); return($html); } /** * put header additions in header html, functiob for override */ protected function putPreviewHtml_headerAdd(){ } /** * put footer additions in body html, functiob for override */ protected function putPreviewHtml_footerAdd(){ } /** * get wp done styles */ private function getWPDoneStyleHandles(){ if(self::$arrStyleHandlesCache !== null) return(self::$arrStyleHandlesCache); $wpStyles = wp_styles(); $arrDoneStyles = $wpStyles->done; if(empty($arrDoneStyles)) $arrDoneStyles = array(); $arrDoneStyles = UniteFunctionsUC::arrayToAssoc($arrDoneStyles); self::$arrStyleHandlesCache = $arrDoneStyles; return($arrDoneStyles); } /** * exclude alrady existing includes on page * function for override */ protected function excludeExistingInlcudes($arrIncludes){ if(empty($arrIncludes)) return($arrIncludes); $arrIncludesNew = array(); foreach($arrIncludes as $include){ $handle = UniteFunctionsUC::getVal($include, "handle"); $type = UniteFunctionsUC::getVal($include, "type"); //treat only css for now if($type == "css"){ $arrStyles = $this->getWPDoneStyleHandles(); $isExists = isset($arrStyles[$handle]); if($handle == "font-awesome" && $isExists == false){ $isExists = isset($arrStyles["font-awesome-4-shim"]); } if($isExists == true) //skip already existing continue; } $arrIncludesNew[] = $include; } return($arrIncludesNew); } }
[-] custom_post_types.class.php
[edit]
[-] provider_layouts_exporter.class.php
[edit]
[+]
..
[-] include_provider_after.php
[edit]
[-] provider_template_engine.class.php
[edit]
[-] provider_web_api.class.php
[edit]
[-] wpml_integrate.class.php
[edit]
[+]
core
[-] provider_admin.class.php
[edit]
[-] provider_admin_plugin_base.class.php
[edit]
[-] integrations.class.php
[edit]
[-] provider_globals.class.php
[edit]
[-] provider_front.class.php
[edit]
[-] provider_addon.class.php
[edit]
[-] provider_browser.class.php
[edit]
[-] provider_manager_addons.class.php
[edit]
[-] provider_dialog_param.class.php
[edit]
[-] include_provider.php
[edit]
[-] woocommerce_integrate.class.php
[edit]
[-] provider_settings_output.class.php
[edit]
[-] provider_categories.class.php
[edit]
[-] provider_operations.class.php
[edit]
[-] provider_helper.class.php
[edit]
[-] toolset_integrate.class.php
[edit]
[+]
settings
[-] provider_functions.class.php
[edit]
[+]
assets
[-] gutenberg_integrate.class.php
[edit]
[-] provider_alt_loader.php
[edit]
[-] provider_layouts.class.php
[edit]
[-] provider_layout_output.class.php
[edit]
[-] provider_settings.class.php
[edit]
[+]
admin_notices
[+]
views
[-] provider_library.class.php
[edit]
[-] wpml_translation_module.class.php
[edit]
[-] provider_settings_multisource.class.php
[edit]
[-] provider_client_text.php
[edit]
[+]
freemius
[-] provider_actions.class.php
[edit]
[-] pods_integrate.class.php
[edit]
[-] functions_wordpress.class.php
[edit]
[-] provider_db.class.php
[edit]
[-] provider_params_processor.class.php
[edit]
[-] acf_integrate.class.php
[edit]
[-] provider_params_processor_multisource.class.php
[edit]
[-] provider_layout.class.php
[edit]
[-] provider_output.class.php
[edit]