wp_kses_allowed_html


wp_kses_allowed_html ( $context = '' )

Parameters:
  • (string|array) $context The context for which to retrieve tags. Allowed values are 'post', 'strip', 'data', 'entities', or the name of a field filter such as 'pre_user_description'.
Returns:
  • (array) Array of allowed HTML tags and their allowed attributes.
Defined at:

Description

Returns an array of allowed HTML tags and attributes for a given context.

Related Functions

wp_kses_one_attr, wp_kses_bad_protocol, wp_allowed_protocols, wp_kses_html_error, wp_kses_data

Top Google Results

User discussions

wpseek mobile