HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/martyknows.com/wp-content/themes/shaan/includes/customizer/sanitize.php
<?php

if( ! function_exists( 'shaan_layout_option_sanitize' ) ) :
function shaan_layout_option_sanitize( $value ) {

	if( ! in_array( $value, array( 'right-sidebar', 'left-sidebar', 'no-sidebar' ) ) ) {
		$layout = 'right-sidebar';
	}

	return $value;
}
endif;

if( ! function_exists( 'shaan_layout_header_sanitize' ) ) :
function shaan_layout_header_sanitize( $value ) {

	if( ! in_array( $value, array( 'default', 'center' ) ) ) {
		$layout = 'default';
	}

	return $value;
}
endif;

if( ! function_exists( 'shaan_checkbox_sanitize' ) ) :
function shaan_checkbox_sanitize( $value ) {

	if( ! in_array( $value, array( 0, 1 ) ) ) {
		$value = 1;
	}

	return $value;
}
endif;