wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



attribute_escape › WordPress Function

Depuis2.0.6
Dépréciée2.8.0
attribute_escape ( $text )
Paramètres:
  • (string) $text
    Requis: Oui
Voir:
Retourne:
  • (string)
Défini(e) dans:
Codex:

Escaping for HTML attributes.



Source

function attribute_escape( $text ) {
	_deprecated_function( __FUNCTION__, '2.8.0', 'esc_attr()' );
	return esc_attr( $text );
}