Tribe__Validator__Base::is_url( string $input )
Whether a string represents a valid array or not.
Contents
Valid means that the string looks like a URL, not that the URL is online and reachable.
Parameters
- $input
-
(string) (Required)
Return
(bool)
Source
File: src/Tribe/Validator/Base.php
public function is_url( $input ) {
return (bool) filter_var( $input, FILTER_VALIDATE_URL );
}