Файловый менеджер - Редактировать - /home/infrafs/www/wp-content/themes/trackstore/framework/modules/woocommerce/shortcodes/shortcodes-functions.php
Назад
<?php if ( ! function_exists( 'trackstore_elated_include_woocommerce_shortcodes' ) ) { function trackstore_elated_include_woocommerce_shortcodes() { foreach ( glob( ELATED_FRAMEWORK_MODULES_ROOT_DIR . '/woocommerce/shortcodes/*/load.php' ) as $shortcode_load ) { include_once $shortcode_load; } } if ( trackstore_elated_core_plugin_installed() ) { add_action( 'eltd_core_action_include_shortcodes_file', 'trackstore_elated_include_woocommerce_shortcodes' ); } } if ( ! function_exists( 'trackstore_elated_set_product_list_icon_class_name_for_vc_shortcodes' ) ) { /** * Function that set custom icon class name for product shortcodes to set our icon for Visual Composer shortcodes panel */ function trackstore_elated_set_product_list_icon_class_name_for_vc_shortcodes( $shortcodes_icon_class_array ) { $shortcodes_icon_class_array[] = '.icon-wpb-product-info'; $shortcodes_icon_class_array[] = '.icon-wpb-product-list'; $shortcodes_icon_class_array[] = '.icon-wpb-product-list-simple'; $shortcodes_icon_class_array[] = '.icon-wpb-product-list-carousel-1'; $shortcodes_icon_class_array[] = '.icon-wpb-product-list-carousel-2'; $shortcodes_icon_class_array[] = '.icon-wpb-product-list-carousel-3'; $shortcodes_icon_class_array[] = '.icon-wpb-product-category-list'; $shortcodes_icon_class_array[] = '.icon-wpb-product-pair'; return $shortcodes_icon_class_array; } if ( trackstore_elated_core_plugin_installed() ) { add_filter( 'eltd_core_filter_add_vc_shortcodes_custom_icon_class', 'trackstore_elated_set_product_list_icon_class_name_for_vc_shortcodes' ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка