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

Provide plugins a way of preventing Photon from being applied to images retrieved from WordPress Core.

Source file: class.photon.php

View in GitHub

Parameters

false

(bool) false Stop Photon from being applied to the image. Default to false.

$args

(array) { Array of image details. @type $image Image URL. @type $attachment_id Attachment ID of the image. @type $size Image size. Can be a string (name of the image size, e.g. full) or an array of width and height. }


Changelog

Since: Jetpack 2.0.0


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