apply_filters ( 'jetpack_photon_image_downsize_array', array $photon_args, array $args )

Filter the Photon Arguments added to an image when going through Photon, when the image size is an array of height and width values.

Source file: class.photon.php

View in GitHub

Parameters

$photon_args

(array) Array of Photon arguments.

$args

(array) { Array of image details. @type $width Image width. @type height Image height. @type $image_url Image URL. @type $attachment_id Attachment ID of the image. }


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