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

Filter the Photon Arguments added to an image when going through Photon, when that image size is a string.<p>Image size will be a string (e.g. "full", "medium") when it is known to WordPress.</p>

Source file: class.photon.php

View in GitHub



(array) Array of Photon arguments.


(array) { Array of image details. @type array $image_args Array of Image arguments (width, height, crop). @type string $image_url Image URL. @type int $attachment_id Attachment ID of the image. @type string|int $size Image size. Can be a string (name of the image size, e.g. full) or an integer. @type string $transform Value can be resize or fit. @see }


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