WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_content_img_tag

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/media.php apply_filters 1864 /**
* Filters an img tag within the content for a given context.
*
* @since 6.0.0
*
* @param string $filtered_image Full img tag with attributes that will replace the source img tag.
* @param string $context Additional context, like the current filter name or the function name from where this was called.
* @param int $attachment_id The image attachment ID. May be 0 in case the image is not an attachment.
*/

Hook Parameters

Parameter Type Name Description
string $filtered_image Full img tag with attributes that will replace the source img tag.
string $context Additional context, like the current filter name or the function name from where this was called.
int $attachment_id The image attachment ID. May be 0 in case the image is not an attachment.