Changeset 53028 for trunk/src/wp-includes/media.php
- Timestamp:
- 03/29/2022 11:56:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r52957 r53028 1843 1843 $filtered_image = wp_img_tag_add_loading_attr( $filtered_image, $context ); 1844 1844 } 1845 1846 /** 1847 * Filters an img tag within the content for a given context. 1848 * 1849 * @since 6.0.0 1850 * 1851 * @param string $filtered_image Full img tag with attributes that will replace the source img tag. 1852 * @param string $context Additional context, like the current filter name or the function name from where this was called. 1853 * @param int $attachment_id The image attachment ID. May be 0 in case the image is not an attachment. 1854 */ 1855 $filtered_image = apply_filters( 'wp_content_img_tag', $filtered_image, $context, $attachment_id ); 1845 1856 1846 1857 if ( $filtered_image !== $match[0] ) {
Note: See TracChangeset
for help on using the changeset viewer.