wpcf7_is_url
wpcf7_is_url
Appears in: contact-form-7.5.0.2, contact-form-7.5.0.3, contact-form-7.5.0.4, contact-form-7.5.0.5, contact-form-7.5.1, contact-form-7.5.1.1, contact-form-7.5.1.3, contact-form-7.5.1.4, contact-form-7.5.1.5, contact-form-7.5.1.6, contact-form-7.5.1.7, contact-form-7.5.1.8, contact-form-7.5.1.9, contact-form-7.5.2, contact-form-7.5.2.1, contact-form-7.5.2.2, contact-form-7.5.3, contact-form-7.5.3.1, contact-form-7.5.3.2, contact-form-7.5.4, contact-form-7.5.4.1, contact-form-7.5.4.2, contact-form-7.5.5.1, contact-form-7.5.5.2, contact-form-7.5.5.6, contact-form-7.5.5.6.1, contact-form-7.5.6, contact-form-7.5.6.1, contact-form-7.5.6.2, contact-form-7.5.6.3, contact-form-7.5.6.4, contact-form-7.5.7.2, contact-form-7.5.7.3, contact-form-7.5.7.4, contact-form-7.5.7.5.1, contact-form-7.5.7.6, contact-form-7.5.7.7, contact-form-7.5.8, contact-form-7.5.8.1, contact-form-7.5.8.2, contact-form-7.5.8.3, contact-form-7.5.8.4, contact-form-7.5.8.5, contact-form-7.5.8.6, contact-form-7.5.8.7, contact-form-7.5.9, contact-form-7.5.9.2, contact-form-7.5.9.3, contact-form-7.5.9.4, contact-form-7.5.9.5, contact-form-7.5.9.6, contact-form-7.5.9.8, contact-form-7.6.0
Hook Type: filter
Displaying hooks found in version: contact-form-7.6.0apply_filters('wpcf7_is_url') is found 1 times:
- /includes/validation-functions.php line 34
*/ function wpcf7_is_url( $text ) { $scheme = wp_parse_url( $text, PHP_URL_SCHEME ); $result = $scheme && in_array( $scheme, wp_allowed_protocols(), true ); return apply_filters( 'wpcf7_is_url', $result, $text ); } /** * Checks whether the given text is a well-formed telephone number. */