Switch language

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




wp_filter_kses [ WordPress Function ]

wp_filter_kses ( $data )
Parameters:
  • (string) $data Content to filter, expected to be escaped with slashes
Uses:
  • $allowedtags
Returns:
  • (string) Filtered content
Defined at:



Sanitize content with allowed HTML Kses rules.

Source


<?php
function wp_filter_kses($data) {
    global 
$allowedtags;
    return 
addslasheswp_kses(stripslashes$data ), $allowedtags) );
}
?>

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