HEX
Server: Apache/2
System: Linux saturn 4.18.0-477.15.1.lve.2.el8.x86_64 #1 SMP Wed Aug 2 10:43:45 UTC 2023 x86_64
User: centuryt (1072)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/centuryt/public_html/wp-content/themes/woostify/inc/customizer/sections/404/error-404.php
<?php
/**
 * Woocommerce shop single customizer
 *
 * @package woostify
 */

// Default values.
$defaults = woostify_options();

// Custom text.
$wp_customize->add_setting(
	'woostify_setting[error_404_text]',
	array(
		'default'           => $defaults['error_404_text'],
		'sanitize_callback' => 'woostify_sanitize_raw_html',
		'type'              => 'option',
	)
);
$wp_customize->add_control(
	new WP_Customize_Control(
		$wp_customize,
		'woostify_setting[error_404_text]',
		array(
			'label'    => __( 'Custom Text', 'woostify' ),
			'type'     => 'textarea',
			'section'  => 'woostify_error',
			'settings' => 'woostify_setting[error_404_text]',
		)
	)
);

// Background.
$wp_customize->add_setting(
	'woostify_setting[error_404_image]',
	array(
		'default'           => $defaults['error_404_image'],
		'type'              => 'option',
		'sanitize_callback' => 'esc_url_raw',
	)
);
$wp_customize->add_control(
	new WP_Customize_Image_Control(
		$wp_customize,
		'woostify_setting[error_404_image]',
		array(
			'label'    => __( 'Background', 'woostify' ),
			'section'  => 'woostify_error',
			'settings' => 'woostify_setting[error_404_image]',
		)
	)
);