apply_filters ( 'jetpack_photon_image_is_local', bool false, array $args )

Filter whether an image using an attachment ID in its class has to be uploaded to the local site to go through Photon.

Source file: class.photon.php

View in GitHub



(bool) false Was the image uploaded to the local site. Default to false.


(array) { Array of image details. @type $src Image URL. @type tag Image tag (Image HTML output). @type $images Array of information about the image. @type $index Image index. }


Since: Jetpack 2.0.3

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