wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/blocks/comments.php › WordPress File

Functions5
Server-side rendering of the `core/comments` block.


Function Short description
comments_block_form_defaultsUse the button block classes for the form-submit button.
enqueue_legacy_post_comments_block_stylesEnqueues styles from the legacy `core/post-comments` block. These styles are required only by the block's fallback.
register_block_core_commentsRegisters the `core/comments` block on the server.
register_legacy_post_comments_blockEnsures backwards compatibility for any users running the Gutenberg plugin who have used Post Comments before it was merged into Comments Query Loop.
render_block_core_commentsRenders the `core/comments` block on the server.