Файловый менеджер - Редактировать - /home/infrafs/INFRABIKEUS/wp-content/plugins/eltd-core/shortcodes/separator/functions.php
Назад
<?php if ( ! function_exists( 'eltd_core_add_separator_shortcodes' ) ) { function eltd_core_add_separator_shortcodes( $shortcodes_class_name ) { $shortcodes = array( 'ElatedCore\CPT\Shortcodes\Separator\Separator' ); $shortcodes_class_name = array_merge( $shortcodes_class_name, $shortcodes ); return $shortcodes_class_name; } add_filter( 'eltd_core_filter_add_vc_shortcode', 'eltd_core_add_separator_shortcodes' ); } if ( ! function_exists( 'eltd_core_set_separator_icon_class_name_for_vc_shortcodes' ) ) { /** * Function that set custom icon class name for separator shortcode to set our icon for Visual Composer shortcodes panel */ function eltd_core_set_separator_icon_class_name_for_vc_shortcodes( $shortcodes_icon_class_array ) { $shortcodes_icon_class_array[] = '.icon-wpb-separator'; return $shortcodes_icon_class_array; } add_filter( 'eltd_core_filter_add_vc_shortcodes_custom_icon_class', 'eltd_core_set_separator_icon_class_name_for_vc_shortcodes' ); } if ( ! function_exists( 'trackstore_elated_get_separator_html' ) ) { /** * Calls separator shortcode with given parameters and returns it's output * * @param $params * @return mixed|string */ function trackstore_elated_get_separator_html( $params = array() ) { return trackstore_elated_execute_shortcode( 'eltd_separator', $params ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка