private function user_whitelisted() {
		$ret = false;
		// Ips check
		$settings = geot_settings();
		if( isset( $settings['fallback_country_ips'] )  && in_array( $this->ip, textarea_to_array( $settings['fallback_country_ips'] ) ) ) {
			$ret = true;
		}

		return apply_filters( 'geot/treat_request_as_whitelisted', $ret );
	}
private function user_whitelisted() {
		$ret = false;
		// Ips check
		$settings = geot_settings();
		if( isset( $settings['fallback_country_ips'] )  && in_array( $this->ip, textarea_to_array( $settings['fallback_country_ips'] ) ) ) {
			$ret = true;
		}

		return apply_filters( 'geot/treat_request_as_whitelisted', $ret );
	}
private function user_whitelisted ( ) { $ ret = false ; // Ips check $ settings = geot_settings ( ) ; if ( isset ( $ settings [ 'fallback_country_ips' ] ) && in_array ( $ this -> ip , textarea_to_array ( $ settings [ 'fallback_country_ips' ] ) ) ) { $ ret = true ; } return apply_filters ( 'geot/treat_request_as_whitelisted' , $ ret ) ; }
Check if the user is whitelisted in settings
Check if the user is whitelisted in settings