Core Function
View Source on Trac ↗ wp_register_shadow_support()
wp_register_shadow_support( mixed $block_type ) Registers the style and shadow block attributes 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.3.0
Source File
wp-includes/block-supports/shadow.php
Advertisement