Current path: home/webdevt/www/wdp/wp-content/themes/quadric/framework/modules/
?? Go up: /home/webdevt/www/wdp/wp-content/themes/quadric/framework
<?php
if(!function_exists('edgtf_quadric_load_modules')) {
/**
* Loades all modules by going through all folders that are placed directly in modules folder
* and loads load.php file in each. Hooks to edgtf_after_options_map action
*
* @see http://php.net/manual/en/function.glob.php
*/
function edgtf_quadric_load_modules() {
foreach(glob(EDGE_FRAMEWORK_ROOT_DIR.'/modules/*/load.php') as $module_load) {
include_once $module_load;
}
}
add_action('edgtf_quadric_before_options_map', 'edgtf_quadric_load_modules');
}