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?

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