| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/paragraph` block.
| File Size: | 48 lines (1 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| block_core_paragraph_add_class( $block_content ) X-Ref |
| Append the `wp-block-paragraph` class before rendering the stored `core/paragraph` block contents. For example, the following block content: <p class="align-left">Hello World</p> Would be transformed to: <p class="align-left wp-block-paragraph">Hello World</p> return: string Filtered block content. param: string $block_content The block content. |
| register_block_core_paragraph() X-Ref |
| Registers the `core/paragraph` block on server. |
| Generated : Tue Jul 7 08:20:13 2026 | Cross-referenced by PHPXref |