WPDev.one
Core Function
View Source on Trac ↗

wp_register_background_support()

wp_register_background_support( mixed $block_type )

Registers the style block attribute for block types that support it.

Parameters 1 required

Name / Type Description
$block_type
WP_Block_Type

Block Type.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
6.4.0
Source File
wp-includes/block-supports/background.php
Advertisement