wp_render_dimensions_support


wp_render_dimensions_support ( $block_content, $block )

Access:
  • private
Parameters:
  • (string) block_content Rendered block content.
  • (array) block Block object.
Returns:
  • (string) Filtered block content.
Defined at:

Description

Renders server-side dimensions styles to the block wrapper.This block support uses the `render_block` hook to ensure that it is also applied to non-server-rendered blocks.

Related Functions

wp_register_dimensions_support, wp_render_elements_support, wp_render_position_support, wp_apply_dimensions_support, wp_render_duotone_support

Top Google Results

User discussions

wpseek mobile