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 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