photon_validate_image_url, true, $url, $parsed_url
photon_validate_image_url, true, $url, $parsed_url
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('photon_validate_image_url, true, $url, $parsed_url') is found 1 times:
- /jetpack_vendor/automattic/jetpack-image-cdn/src/class-image-cdn.php line 1244
* @param bool true Is the image URL valid and can it be used by Photon. Default to true. * @param string $url Image URL. * @param array $parsed_url Array of information about the image. */ return apply_filters( 'photon_validate_image_url', true, $url, $parsed_url ); } /** * Checks if the file exists before it passes the file to photon. * * @param string $src The image URL.