Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_filter_post_kses()

3 tags 1 category

wp_filter_post_kses() — Sanitizes 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. This function expects slashed data.

Inputs: $data (string): Post content to filter, expected to be escaped with slashes.

Returns string: Filtered post content with allowed HTML tags and attributes intact.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…