HEX
Server: Apache
System: Linux mare-tim-wwwmocrea 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //proc/2301933/cwd/wp-content/plugins/ottar-core/widgets/widget-functions.php
<?php

if ( ! function_exists( 'ottar_edge_load_widget_class' ) ) {
	/**
	 * Loades widget class file.
	 */
	function ottar_edge_load_widget_class() {
		include_once 'widget-class.php';
	}

	add_action( 'ottar_edge_action_before_options_map', 'ottar_edge_load_widget_class' );
}

if ( ! function_exists( 'ottar_edge_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 ottar_edge_action_after_options_map action
	 */
	function ottar_edge_load_widgets() {

		foreach ( glob( EDGE_FRAMEWORK_ROOT_DIR . '/modules/widgets/*/load.php' ) as $widget_load ) {
			include_once $widget_load;
		}

		include_once 'widget-loader.php';
	}

	add_action( 'ottar_edge_action_before_options_map', 'ottar_edge_load_widgets' );
}