Switch language

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




wp_kses_hook [ WordPress Function ]

wp_kses_hook ( $string, $allowed_html, $allowed_protocols )
Parameters:
  • (string) $string Content to filter through kses
  • (array) $allowed_html List of allowed HTML elements
  • (array) $allowed_protocols Allowed protocol in links
Returns:
  • (string) Filtered content through 'pre_kses' hook
Defined at:



You add any kses hooks here.

There is currently only one kses WordPress hook and it is called here. All parameters are passed to the hooks and expected to receive a string.

Source


<?php
function wp_kses_hook($string$allowed_html$allowed_protocols) {
    
$string apply_filters('pre_kses'$string$allowed_html$allowed_protocols);
    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