esc_html [ WordPress Function ]
esc_html ( $text )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Escaping for HTML blocks.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- esc_html - WordPress Codex
Description. Escaping for HTML blocks. Usage. <?php esc_html( $text ) ?> Parameters. $text: (string) (required) Text to escape. Default: None. Return Values ...
codex.wordpress.org - Data Validation « WordPress Codex
esc_html( $text ) (since 2.8): Encodes < > & " ' (less than, greater than, ampersand, double quote, single quote). Very similar to esc_attr . esc_html__ ( since 2.8) ...
codex.wordpress.org - PHP Helpers: esc_html | Joseph Scott
Jan 19, 2010 ... Next up in the PHP Helpers series is esc_html : if ( !function_exists( 'esc_html' ) ) { function esc_html( $html, $char_set = 'UTF-8' ) { if ( empty( ...
josephscott.org - escaping - why is esc_html() returning nothing given a string ...
Apr 15, 2011 ... In WP, esc_html() sanitizes text. The former works with a high-bit character in the text string, e.g. à , but the latter doesn't. esc_html seems to be ...
wordpress.stackexchange.com
Gebruikersdiscussies [ wordpress.org ]
- Jacorre on "How do you use esc_html for form inputs?"
- PlugPress.com on "How do you use esc_html for form inputs?"
- Jacorre on "How do you use esc_html for form inputs?"
- Dreadknux on "Fatal error: Call to undefined function esc_html()"
- Samuel B on "Fatal error: Call to undefined function esc_html()"
- Dreadknux on "Fatal error: Call to undefined function esc_html()"