register_block_core_widget_group()
Registers the 'core/widget-group' block.
No Hooks.
Returns
null. Nothing (null).
Usage
register_block_core_widget_group();
Changelog
| Since 5.9.0 | Introduced. |
register_block_core_widget_group() register block core widget group code WP 6.9.1
function register_block_core_widget_group() {
register_block_type_from_metadata(
__DIR__ . '/widget-group',
array(
'render_callback' => 'render_block_core_widget_group',
)
);
}