esc_attr


esc_attr ( $text )

Parameters:
  • (string) $text
Returns:
  • (string)
Defined at:

Description

Escaping for HTML attributes.

Related Functions

esc_attr_e, esc_attr_x, esc_attr__, esc_textarea, wp_kses_attr

Top Google Results

User discussions

wpseek mobile