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', or an array of allowed HTML elements and attributes.
Returns:
  • (array) Array of allowed HTML tags and their allowed attributes.
Defined at:
Change Log:
  • 5: .

Description

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

Related Functions

wp_kses_one_attr, wp_allowed_protocols, wp_kses_bad_protocol, _wp_get_allowed_postdata, wp_kses_data

Top Google Results

User discussions

wpseek mobile