WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about image_make_intermediate_size

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-image-editor-imagick.php apply_filters 750 /**
* @since 3.5.0
* @since 6.0.0 The `$filesize` value was added to the returned array.
* @param Imagick $image
* @param string $filename
* @param string $mime_type
* @return array|WP_Error {
* Array on success or WP_Error if the file failed to save.
* @type string $path Path to the image file.
* @type string $file Name of the image file.
* @type int $width Image width.
* @type int $height Image height.
* @type string $mime-type The mime type of the image.
* @type int $filesize File size of the image.
* }
wp-includes/class-wp-image-editor-gd.php apply_filters 518 /**
* Filters the name of the saved image file.
* @since 2.6.0
* @param string $filename Name of the file.

Hook Parameters

Parameter Type Name Description
string $filename Name of the file.