Filters whether to output progressive images (if available).
$interlacebool$mime_typestringwp-includes/class-wp-image-editor-gd.php:517WP_Image_Editor_GD::_save()wp-includes/class-wp-image-editor-imagick.php:1094WP_Image_Editor_Imagick::_save() * * @since 6.5.0 * * @param bool $interlace Whether to use progressive images for output if available. Default false. * @param string $mime_type The mime type being saved. */ imageinterlace( $image, apply_filters( 'image_save_progressive', false, $mime_type ) ); } if ( 'image/gif' === $mime_type ) { if ( ! $this->make_image( $filename, 'imagegif', array( $image, $filename ) ) ) { return new WP_Error( 'image_save_error', __( 'Image Editor Save Failed' ) ); }Introduced in 6.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.