mirror of
git://develop.git.wordpress.org/
synced 2025-01-16 20:38:35 +01:00
Media: Improve inline docs for wp_filter_content_tags()
.
Props johnstonphilip. See #44427. git-svn-id: https://develop.svn.wordpress.org/trunk@48648 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c230d7a07c
commit
3e1083a37e
@ -1705,9 +1705,10 @@ function wp_lazy_loading_enabled( $tag_name, $context ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters specific tags in post content and modifies their markup.
|
||||
*
|
||||
* This function adds `srcset`, `sizes`, and `loading` attributes to `img` HTML tags.
|
||||
* Modifies specific HTML tags in post content to include new browser and HTML technologies
|
||||
* that may not have existed at the time of post creation. These modifications currently include
|
||||
* adding `srcset`, `sizes`, and `loading` attributes to `img` HTML tags. Future similar
|
||||
* optimizations should be added/expected here.
|
||||
*
|
||||
* @since 5.5.0
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user