WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about attribute_escape

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 4602 /**
* Filters a string cleaned and escaped for output in an HTML attribute.
*
* Text passed to esc_attr() is stripped of invalid or special characters
* before output.
*
* @since 2.0.6
*
* @param string $safe_text The text after it has been escaped.
* @param string $text The text prior to being escaped.
*/

Hook Parameters

Parameter Type Name Description
string $safe_text The text after it has been escaped.
string $text The text prior to being escaped.