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/wpprotonperinggit/wp-content/themes/voiture/inc/custom-header.php
<?php
/**
 * Custom Header functionality for Voiture
 *
 * @package WordPress
 * @subpackage Voiture
 * @since Voiture 1.0
 */

/**
 * Set up the WordPress core custom header feature.
 *
 * @uses voiture_header_style()
 */
function voiture_custom_header_setup() {
	$color_scheme        = voiture_get_color_scheme();
	$default_text_color  = trim( $color_scheme[4], '#' );

	/**
	 * Filter Voiture custom-header support arguments.
	 *
	 * @since Voiture 1.0
	 *
	 * @param array $args {
	 *     An array of custom-header support arguments.
	 *
	 *     @type string $default_text_color     Default color of the header text.
	 *     @type int    $width                  Width in pixels of the custom header image. Default 954.
	 *     @type int    $height                 Height in pixels of the custom header image. Default 1300.
	 *     @type string $wp-head-callback       Callback function used to styles the header image and text
	 *                                          displayed on the blog.
	 * }
	 */
	add_theme_support( 'custom-header', apply_filters( 'voiture_custom_header_args', array(
		'default-text-color'     => $default_text_color,
		'width'                  => 954,
		'height'                 => 1300,
		'wp-head-callback'       => 'voiture_header_style',
	) ) );
}
add_action( 'after_setup_theme', 'voiture_custom_header_setup' );

if ( ! function_exists( 'voiture_header_style' ) ) :
/**
 * Styles the header image and text displayed on the blog.
 *
 * @since Voiture 1.0
 *
 * @see voiture_custom_header_setup()
 */
function voiture_header_style() {
	return '';
}
endif; // voiture_header_style