Switch language

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




wp_kses_post [ WordPress Function ]

wp_kses_post ( $data )
Parameters:
  • (string) $data Post content to filter
Uses:
  • $allowedposttags
Returns:
  • (string) Filtered post content with allowed HTML tags and attributes intact.
Defined at:



Sanitize content for allowed HTML tags for post content.

Post content refers to the page contents of the 'post' type and not $_POST data from forms.

Source


<?php
function wp_kses_post($data) {
    global 
$allowedposttags;
    return 
wp_kses$data $allowedposttags );
}
?>

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