W3cubDocs

/WordPress

apply_filters( ‘image_save_progressive’, bool $interlace, string $mime_type )

Filters whether to output progressive images (if available).

Parameters

$interlacebool
Whether to use progressive images for output if available. Default false.
$mime_typestring
The mime type being saved.

Source

imageinterlace( $image, apply_filters( 'image_save_progressive', false, $mime_type ) );

Changelog

Version Description
6.5.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/image_save_progressive