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: - Introduced in WordPress: 3.5.0
- Deprecated in WordPress: —
Description
Returns an array of allowed HTML tags and attributes for a given context.