get_block_wrapper_attributes


get_block_wrapper_attributes ( $extra_attributes = array() )

Parameters:
  • (array) extra_attributes Optional. Extra attributes to render on the block wrapper.
Returns:
  • (string) String of HTML classes.
Defined at:

Description

Generates a string of attributes by applying to the current block being rendered all of the features that the block supports.

Related Functions

get_language_attributes, get_block_categories, serialize_block_attributes, wp_pre_kses_block_attributes, register_block_core_categories

Top Google Results

User discussions

wpseek mobile