apply_filters ( 'photon_validate_image_url', bool true, string $url, array $parsed_url )

Overwrite the results of the validation steps an image goes through before to be considered valid to be used by Photon.

Source file: class.photon.php

View in GitHub

Parameters

true

(bool) true Is the image URL valid and can it be used by Photon. Default to true.

$url

(string) Image URL.

$parsed_url

(array) Array of information about the image.


Changelog

Since: Jetpack 3.0.0


Have a question?

Comments are closed for this article, but we're still here to help! Visit the support forum and we'll be happy to answer any questions.

View support forum