apply_filters( ‘tag_escape’, string $safe_tag, string $tag_name )

In this article

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

return apply_filters( 'tag_escape', $safe_tag, $tag_name );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.