| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Anchor block support flag.
| File Size: | 66 lines (2 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| wp_register_anchor_support( WP_Block_Type $block_type ) X-Ref |
| Registers the anchor block attribute for block types that support it. param: WP_Block_Type $block_type Block Type. |
| wp_apply_anchor_support( WP_Block_Type $block_type, array $block_attributes ) X-Ref |
| Add the anchor id to the output. param: WP_Block_Type $block_type Block Type. param: array<string, mixed> $block_attributes Block attributes. return: array<string, string> Attributes with block anchor id. |
| Generated : Thu Jan 15 08:20:04 2026 | Cross-referenced by PHPXref |