Файловый менеджер - Редактировать - /home/infrafs/INFRABIKEUS/wp-content/plugins/eltd-membership/shortcodes/shortcodes-functions.php
Назад
<?php if ( ! function_exists( 'eltd_membership_include_shortcodes_file' ) ) { /** * Loades all shortcodes by going through all folders that are placed directly in shortcodes folder */ function eltd_membership_include_shortcodes_file() { foreach ( glob( ELATED_MEMBERSHIP_SHORTCODES_PATH . '/*/load.php' ) as $shortcode_load ) { include_once $shortcode_load; } do_action( 'eltd_membership_action_include_shortcodes_file' ); } add_action( 'init', 'eltd_membership_include_shortcodes_file', 6 ); // permission 6 is set to be before vc_before_init hook that has permission 9 } if ( ! function_exists( 'eltd_membership_load_shortcodes' ) ) { function eltd_membership_load_shortcodes() { include_once ELATED_MEMBERSHIP_ABS_PATH . '/lib/shortcode-loader.php'; ElatedMembership\Lib\ShortcodeLoader::getInstance()->load(); } add_action( 'init', 'eltd_membership_load_shortcodes', 7 ); // permission 7 is set to be before vc_before_init hook that has permission 9 and after eltd_core_include_shortcodes_file hook }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка