Switch language

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




wp_kses_no_null [ WordPress Function ]

wp_kses_no_null ( $string )
Parameters:
  • (string) $string
Returns:
  • (string)
Defined at:



Removes any null characters in $string.

Source


<?php
function wp_kses_no_null($string) {
    
$string preg_replace('/\0+/'''$string);
    
$string preg_replace('/(\\\\0)+/'''$string);

    return 
$string;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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