Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_specialchars [ WordPress Function ]

wp_specialchars ( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false )
See:
Defined at:



Escaping for HTML blocks.

Source


<?php
function wp_specialchars$string$quote_style ENT_NOQUOTES$charset false$double_encode false ) {
    
_deprecated_function__FUNCTION__'2.8''esc_html()' );
    if ( 
func_num_args() > ) { // Maintain backwards compat for people passing additional args
        
$args func_get_args();
        return 
call_user_func_array'_wp_specialchars'$args );
    } else {
        return 
esc_html$string );
    }
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics