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/widgets/lib/ |
Upload File : |
<?php
if ( ! function_exists( 'mixtape_qodef_load_widget_class' ) ) {
/**
* Loades widget class file.
*
*/
function mixtape_qodef_load_widget_class() {
include_once 'widget-class.php';
}
add_action( 'mixtape_qodef_before_options_map', 'mixtape_qodef_load_widget_class' );
}
if ( ! function_exists( 'mixtape_qodef_load_widgets' ) ) {
/**
* Loades all widgets by going through all folders that are placed directly in widgets folder
* and loads load.php file in each. Hooks to mixtape_qodef_after_options_map action
*/
function mixtape_qodef_load_widgets() {
if ( qodef_core_theme_installed() ) {
foreach ( glob( QODE_CORE_ABS_PATH . '/widgets/*/load.php' ) as $widget_load ) {
include_once $widget_load;
}
include_once 'widget-loader.php';
}
}
add_action( 'mixtape_qodef_before_options_map', 'mixtape_qodef_load_widgets' );
}