Switch language

wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren




wp_kses_post [ WordPress Function ]

wp_kses_post ( $data )
Parameter:
  • (string) $data Post content to filter
Nutzt:
  • $allowedposttags
Gibt zurück:
  • (string) Filtered post content with allowed HTML tags and attributes intact.
Definiert in:



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 );
}
?>

Beispiele [ wp-snippets.com ]

Top Google Suchergebnisse

Mehr ...

Nutzerduskussionen [ wordpress.org ]

0 Nutzerkommentare

Noch keine. Sei der Erste!

Neu hinzufügen ...



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