| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Shadow block support flag.
| File Size: | 85 lines (2 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| wp_register_shadow_support( $block_type ) X-Ref |
| Registers the style and shadow block attributes for block types that support it. param: WP_Block_Type $block_type Block Type. |
| wp_apply_shadow_support( $block_type, $block_attributes ) X-Ref |
| Add CSS classes and inline styles for shadow features to the incoming attributes array. This will be applied to the block markup in the front-end. return: array Shadow CSS classes and inline styles. param: WP_Block_Type $block_type Block type. param: array $block_attributes Block attributes. |
| Generated : Wed Apr 15 08:20:10 2026 | Cross-referenced by PHPXref |