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/wpbiancoarte/wp-content/plugins/hiroshi-core/inc/performance/helper.php
<?php

if ( ! function_exists( 'hiroshi_core_add_performance_panel_into_customizer' ) ) {
	/**
	 * Function that add module panel into customizer options
	 *
	 * @param array $panels
	 *
	 * @return array
	 */
	function hiroshi_core_add_performance_panel_into_customizer( $panels ) {
		$panels[] = 'hiroshi_core_performance_panel';

		return $panels;
	}

	add_filter( 'qode_framework_filter_customizer_panels', 'hiroshi_core_add_performance_panel_into_customizer' );
}

if ( ! function_exists( 'hiroshi_core_performance_get_option_value' ) ) {
	/**
	 * Function check is item enabled throw customizer options
	 *
	 * @param string $item - module path
	 * @param string $option - customizer option name
	 *
	 * @return bool
	 */
	function hiroshi_core_performance_get_option_value( $item, $option ) {
		$value = false;

		if ( ! empty( $item ) && ! empty( $option ) ) {
			$option_name = $option . str_replace( '-', '_', basename( $item ) );
			$value       = qode_framework_get_option_value( '', 'customizer', $option_name );
		}

		return $value;
	}
}