[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Custom classname block support flag.
File Size: | 65 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
wp_register_custom_classname_support( $block_type ) X-Ref |
Registers the custom classname block attribute for block types that support it. param: WP_Block_Type $block_type Block Type. since: 5.6.0 |
wp_apply_custom_classname_support( $block_type, $block_attributes ) X-Ref |
Add the custom classnames to the output. param: WP_Block_Type $block_type Block Type. param: array $block_attributes Block attributes. return: array Block CSS classes and inline styles. since: 5.6.0 |
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |