Submit
Path:
~
/
home
/
getwphos
/
public_html
/
brueggemann
/
wp-content
/
plugins
/
wanderland-core
/
widgets
/
File Content:
load.php
<?php if ( ! function_exists( 'wanderland_core_load_widget_class' ) ) { /** * Loades widget class file. */ function wanderland_core_load_widget_class() { include_once 'widget-class.php'; } add_action( 'wanderland_mikado_action_before_options_map', 'wanderland_core_load_widget_class' ); } if ( ! function_exists( 'wanderland_core_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 wanderland_mikado_action_after_options_map action */ function wanderland_core_load_widgets() { if ( wanderland_core_theme_installed() ) { foreach ( glob( WANDERLAND_MIKADO_FRAMEWORK_ROOT_DIR . '/modules/widgets/*/load.php' ) as $widget_load ) { include_once $widget_load; } } include_once 'widget-loader.php'; } add_action( 'wanderland_mikado_action_before_options_map', 'wanderland_core_load_widgets' ); }
Submit
FILE
FOLDER
Name
Size
Permission
Action
load.php
945 bytes
0644
widget-class.php
7144 bytes
0644
widget-loader.php
359 bytes
0644
N4ST4R_ID | Naxtarrr