apply_filters ( 'jetpack_photon_post_image_args', array $args, array $details )

Filter the array of Photon arguments added to an image when it goes through Photon.<p>By default, only includes width and height values.</p>

Source file: class.photon.php

View in GitHub



(array) Array of Photon Arguments.


(array) { Array of image details. @type string $tag Image tag (Image HTML output). @type string $src Image URL. @type string $src_orig Original Image URL. @type int|false $width Image width. @type int|false $height Image height. @type int|false $width_orig Original image width before constrained by content_width. @type int|false $height_orig Original Image height before constrained by content_width. @type string $transform Transform. @type string $transform_orig Original transform before constrained by content_width. }


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