wp_render_background_support
- %1$s is private and should not be used in themes or plugins directly.
wp_render_background_support ( $block_content, $block )
Access:Parameters:- (string) block_content Rendered block content.
- (array) block Block object.
Returns:- (string) Filtered block content.
Defined at:Change Log: - Introduced in WordPress: 6.4.0
- Deprecated in WordPress: —
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.