jetpack_images_pre_get_images, $media, $post_id, $args

jetpack_images_pre_get_images, $media, $post_id, $args

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_images_pre_get_images, $media, $post_id, $args') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-post-media/src/class-images.php line 896
    		 * @param array $media Array of images that would be good for a specific post.
    		 * @param int $post_id Post ID.
    		 * @param array $args Array of options to get images.
    		 */
    		$media = apply_filters( 'jetpack_images_pre_get_images', $media, $post_id, $args );
    		if ( $media ) {
    			return $media;
    		}
    
    		$defaults = array(
    			'width'               => 200, // Required minimum width (if possible to determine).