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/header/layouts/standard/helper.php
<?php

if ( ! function_exists( 'hiroshi_core_add_standard_header_global_option' ) ) {
	/**
	 * This function set header type value for global header option map
	 */
	function hiroshi_core_add_standard_header_global_option( $header_layout_options ) {
		$header_layout_options['standard'] = array(
			'image' => HIROSHI_CORE_HEADER_LAYOUTS_URL_PATH . '/standard/assets/img/standard-header.png',
			'label' => esc_html__( 'Standard', 'hiroshi-core' ),
		);

		return $header_layout_options;
	}

	add_filter( 'hiroshi_core_filter_header_layout_option', 'hiroshi_core_add_standard_header_global_option' );
}

if ( ! function_exists( 'hiroshi_core_set_standard_header_as_default_global_option' ) ) {
	/**
	 * This function set header type as default option value for global header option map
	 */
	function hiroshi_core_set_standard_header_as_default_global_option() {
		return 'standard';
	}

	add_filter( 'hiroshi_core_filter_header_layout_default_option_value', 'hiroshi_core_set_standard_header_as_default_global_option' );
}

if ( ! function_exists( 'hiroshi_core_register_standard_header_layout' ) ) {
	/**
	 * Function which add header layout into global list
	 *
	 * @param array $header_layouts
	 *
	 * @return array
	 */
	function hiroshi_core_register_standard_header_layout( $header_layouts ) {
		$header_layouts['standard'] = 'HiroshiCore_Standard_Header';

		return $header_layouts;
	}

	add_filter( 'hiroshi_core_filter_register_header_layouts', 'hiroshi_core_register_standard_header_layout' );
}