image_get_intermediate_size

image_get_intermediate_size

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('image_get_intermediate_size') is found 1 times:

  • /wp-includes/media.php line 865
    	 * @param int          $post_id The ID of the image attachment.
    	 * @param string|int[] $size    Requested image size. Can be any registered image size name, or
    	 *                              an array of width and height values in pixels (in that order).
    	 */
    	return apply_filters( 'image_get_intermediate_size', $data, $post_id, $size );
    }
    
    /**
     * Gets the available intermediate image size names.
     *
     * @since 3.0.0
    

See this hook used in plugins: