Tribe__Validator__Base::is_url( string $input )

Whether a string represents a valid array or not.

Valid means that the string looks like a URL, not that the URL is online and reachable.


Parameters

$input

(string) (Required)


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Validator/Base.php

	public function is_url( $input ) {
		return (bool) filter_var( $input, FILTER_VALIDATE_URL );
	}