filter_block_core_template_part_attributes


filter_block_core_template_part_attributes ( $attribute_value, $attribute_name, $allowed_html )

Parameters:
  • (string) attribute_value The attribute value to filter.
  • (string) attribute_name The attribute name.
  • (array[]|string) allowed_html 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.
Returns:
  • (string) The sanitized attribute value.
Defined at:

Description

Sanitizes the value of the Template Part block's `tagName` attribute.

Related Functions

_filter_block_template_part_area, register_block_core_template_part, render_block_core_template_part, get_block_core_avatar_border_attributes, get_allowed_block_template_part_areas

Top Google Results

User discussions

wpseek mobile