HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
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: /var/www/html/wpmuhibbah_err/wp-content/plugins/organization-chart/front/front.php
<?php
class wpdevart_org_chart_front {
	private static $unique_prefix = 0;

	private $tree;
	
	function __construct() {
		$this->call_filters();
	}
	private function call_filters() {
		$this->include_files();
		add_filter('wp_head', array($this, 'include_scripts'), 99);
		add_filter('wp_footer', array($this, 'include_scripts'), 99);
		add_shortcode('wpda_org_chart', array($this, 'shortcode'));
	}
	
	/*############ Function for including the scripts ##################*/	
	
	public function include_scripts() {
		wp_enqueue_style('wpda_org_chart_front_css', wpda_org_chart_plugin_url . 'front/css/front_css.css', array(), '10.0');
		wp_enqueue_style('wpda_org_chart_front_popup_effects', wpda_org_chart_plugin_url . 'front/css/popup_effects.css', array(), '10.0');
		wp_enqueue_script('wpda_org_chart_front_js', wpda_org_chart_plugin_url . 'front/js/front_js.js', array(), '10.0');
		wp_register_script('wpda_org_chart_front_popup_js', wpda_org_chart_plugin_url . 'front/js/front_popup.js', array(), '10.0');
		wp_enqueue_script('wpda_org_chart_front_popup_js');
		wp_localize_script('wpda_org_chart_front_popup_js', 'wpda_org_chart_responsive_sizes', wpda_org_chart_responsive_sizes);
	}

	/*############ Function for including the files ##################*/		
	
	private function include_files() {
		require_once(wpda_org_chart_plugin_path . 'front/tree_class.php');
	}

	/*############ Function for the shortcode ##################*/	
	
	public function shortcode($atts) {
		$tree = new wpda_org_chart_front_tree_maker($atts);
		return $tree->controller();
	}
}