HEX
Server: LiteSpeed
System: Linux aswd.cphost.net.za 5.14.0-611.54.6.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 04:23:18 EDT 2026 x86_64
User: qtojtxza (1060)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/qtojtxza/public_html/wp-content/themes/bridge/framework/modules/qode-modules-loader.php
<?php

if(!function_exists('bridge_qode_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 qode_after_options_map action
	 *
	 * @see http://php.net/manual/en/function.glob.php
	 */
	function bridge_qode_load_modules() {
		foreach(glob(QODE_FRAMEWORK_ROOT_DIR.'/modules/*/load.php') as $module_load) {
            if (strpos($module_load, 'reviews') == false) {
                include_once $module_load;
            }

		}
	}

	add_action('bridge_qode_action_before_options_map', 'bridge_qode_load_modules');
}