Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/www/curators/wp-content/plugins/select-core/shortcodes/lib/ |
Upload File : |
<?php
if ( ! function_exists( 'mixtape_qodef_load_shortcode_interface' ) ) {
function mixtape_qodef_load_shortcode_interface() {
include_once QODE_CORE_ABS_PATH . '/shortcodes/lib/shortcode-interface.php';
}
add_action( 'mixtape_qodef_before_options_map', 'mixtape_qodef_load_shortcode_interface' );
}
if ( ! function_exists( 'mixtape_qodef_load_shortcodes' ) ) {
/**
* Loades all shortcodes by going through all folders that are placed directly in shortcodes folder
* and loads load.php file in each. Hooks to mixtape_qodef_after_options_map action
*
* @see http://php.net/manual/en/function.glob.php
*/
function mixtape_qodef_load_shortcodes() {
if ( qodef_core_theme_installed() ) {
foreach ( glob( QODE_CORE_ABS_PATH . '/shortcodes/*/load.php' ) as $shortcode_load ) {
include_once $shortcode_load;
}
QodeCore\Lib\ShortcodeLoader::getInstance()->load();
}
do_action( 'mixtape_qodef_shortcode_loader' );
}
add_action( 'mixtape_qodef_before_options_map', 'mixtape_qodef_load_shortcodes' );
}