On this page
apply_filters( 'tag_escape', string $safe_tag, string $tag_name )
Filters a string cleaned and escaped for output as an HTML tag.
Parameters
$safe_tagstring-
The tag name after it has been escaped.
$tag_namestring-
The text before it was escaped.
Source
File: wp-includes/formatting.php. View all references
return apply_filters( 'tag_escape', $safe_tag, $tag_name );
Related
Used By
| Used By | Description |
|---|---|
| tag_escape() wp-includes/formatting.php | Escapes an HTML tag name. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/tag_escape