Definition:
function esc_textarea( $text ) {}
Escaping for textarea values.
Parameters
- string $text
Defined filters
- esc_textarea
apply_filters( 'esc_textarea', $safe_text, $text )
Source code
function esc_textarea( $text ) {
$safe_text = htmlspecialchars( $text, ENT_QUOTES );
return apply_filters( 'esc_textarea', $safe_text, $text );
}
9287

February 24, 2011 


No comments yet... Be the first to leave a reply!