public static function check_reset() {

		if ( ! empty( filter_input( INPUT_GET, 'tts_reset' ) ) ) {
			setcookie( self::get_cookie_name(), '', 1 );
			nocache_headers();
			wp_safe_redirect( home_url() );
			die;
		}
	}
public static function check_reset() {

		if ( ! empty( filter_input( INPUT_GET, 'tts_reset' ) ) ) {
			setcookie( self::get_cookie_name(), '', 1 );
			nocache_headers();
			wp_safe_redirect( home_url() );
			die;
		}
	}
public static function check_reset ( ) { if ( ! empty ( filter_input ( INPUT_GET , 'tts_reset' ) ) ) { setcookie ( self :: get_cookie_name ( ) , '' , 1 ) ; nocache_headers ( ) ; wp_safe_redirect ( home_url ( ) ) ; die ; } }
Clear theme choice if reset variable is present in request.
Clear theme choice if reset variable is present in request .