get_image_tag

get_image_tag

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('get_image_tag') is found 1 times:

  • /wp-includes/media.php line 421
    	 * @param string       $align Part of the class name for aligning the image.
    	 * @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( 'get_image_tag', $html, $id, $alt, $title, $align, $size );
    }
    
    /**
     * Calculates the new dimensions for a down-sampled image.
     *
     * If either width or height are empty, no constraint is applied on
    

See this hook used in plugins: