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

Glossary Term

wp_kses_hook()

3 tags 1 category

wp_kses_hook() — You add any KSES hooks here. There is currently only one KSES WordPress hook, ‘pre_kses’, and it is called here. All parameters are passed to the hooks and expected to receive a string.

Inputs: $content (string): Content to filter through KSES. $allowed_html (array[]|string): An array of allowed HTML elements and attributes, or a context name such as ‘post’. See wp_kses_allowed_html() for the list of accepted context names. $allowed_protocols (string[]): Array of allowed URL protocols.

Returns string: Filtered content through ‘pre_kses’ hook.

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…