Filters the name of the saved image file.
$filenamestringwp-includes/class-wp-image-editor-gd.php:589WP_Image_Editor_GD::_save()wp-includes/class-wp-image-editor-imagick.php:1174WP_Image_Editor_Imagick::_save() * Filters the name of the saved image file. * * @since 2.6.0 * * @param string $filename Name of the file. */ 'file' => wp_basename( apply_filters( 'image_make_intermediate_size', $filename ) ), 'width' => $this->size['width'], 'height' => $this->size['height'], 'mime-type' => $mime_type, 'filesize' => wp_filesize( $filename ), ); }Introduced in 2.6.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.