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

Parameters

false

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

$args

(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. }


Changelog

Since: Jetpack 2.0.3


Have a question about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us