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