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__, wp_kses_attr, esc_textarea

Top Google Results

User discussions

wpseek mobile