wp_render_background_support


wp_render_background_support ( $block_content, $block )

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

Description

Renders the background 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_background_support, wp_render_layout_support_flag, wp_render_position_support, wp_render_duotone_support, wp_render_typography_support

Top Google Results

User discussions

wpseek mobile