[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Appending the wp-block-heading to before rendering the stored `core/heading` block contents.
File Size: | 56 lines (1 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_core_heading_render( $attributes, $content ) X-Ref |
Adds a wp-block-heading class to the heading block content. For example, the following block content: <h2 class="align-left">Hello World</h2> Would be transformed to: <h2 class="align-left wp-block-heading">Hello World</h2> param: array $attributes Attributes of the block being rendered. param: string $content Content of the block being rendered. return: string The content of the block being rendered. |
register_block_core_heading() X-Ref |
Registers the `core/heading` block on server. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |