[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/post-comments` block.
File Size: | 85 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
render_block_core_post_comments( $attributes, $content, $block ) X-Ref |
Renders the `core/post-comments` block on the server. param: array $attributes Block attributes. param: string $content Block default content. param: WP_Block $block Block instance. return: string Returns the filtered post comments for the current post wrapped inside "p" tags. |
register_block_core_post_comments() X-Ref |
Registers the `core/post-comments` block on the server. |
post_comments_block_form_defaults( $fields ) X-Ref |
Use the button block classes for the form-submit button. param: array $fields The default comment form arguments. return: array Returns the modified fields. |
Generated : Tue Sep 20 08:20:01 2022 | Cross-referenced by PHPXref |