wp_kses_hook


wp_kses_hook ( $string, $allowed_html, $allowed_protocols )

Parameters:
  • (string) $string Content to filter through kses
  • (array) $allowed_html List of allowed HTML elements
  • (array) $allowed_protocols Allowed protocol in links
Returns:
  • (string) Filtered content through {@see 'pre_kses'} hook.
Defined at:

Description

You add any kses hooks here.

There is currently only one kses WordPress hook, {@see 'pre_kses'}, and it is called here. All parameters are passed to the hooks and expected to receive a string.

Related Functions

wp_kses_hair, wp_kses_post, wp_kses, wp_kses_html_error, wp_kses_attr_check

Top Google Results

User discussions

wpseek mobile