ホーム > 関数 > 関数 esc_html() 2014/12/09 2014/12/11 目次1 関数 esc_html()2 定義ファイル :/blog/wp-includes/formatting.php 7関数 esc_html()定義ファイル :/blog/wp-includes/formatting.php 7PHP function esc_html( $text ) { $safe_text = wp_check_invalid_utf8( $text ); $safe_text = _wp_specialchars( $safe_text, ENT_QUOTES ); return apply_filters( 'esc_html', $safe_text, $text ); }12345function esc_html( $text ) { $safe_text = wp_check_invalid_utf8( $text ); $safe_text = _wp_specialchars( $safe_text, ENT_QUOTES ); return apply_filters( 'esc_html', $safe_text, $text );} - 関数