wp_apply_dimensions_support


wp_apply_dimensions_support ( $block_type, $block_attributes )

Access:
  • private
Parameters:
  • (WP_Block_Type) block_type Block Type.
  • (array) block_attributes Block attributes.
Returns:
  • (array) Block dimensions CSS classes and inline styles.
Defined at:
Change Log:
  • 6: .

Description

Adds CSS classes for block dimensions to the incoming attributes array.This will be applied to the block markup in the front-end.

Related Functions

wp_render_dimensions_support, wp_apply_alignment_support, wp_apply_spacing_support, wp_register_dimensions_support, wp_apply_colors_support

Top Google Results

User discussions

wpseek mobile