attribute_escape()
Deprecated since 2.8.0. It is no longer supported and may be removed in future releases. Use esc_attr() instead.
Escaping for HTML attributes.
No Hooks.
Returns
String.
Usage
attribute_escape( $text );
- $text(string) (required)
- .
Notes
- See: esc_attr()
Changelog
| Since 2.0.6 | Introduced. |
| Deprecated since 2.8.0 | Use esc_attr() |
attribute_escape() attribute escape code WP 6.9
function attribute_escape( $text ) {
_deprecated_function( __FUNCTION__, '2.8.0', 'esc_attr()' );
return esc_attr( $text );
}