wp-includes/blocks/post-comments.php


Lines:

1 to 16 of 16
<?php

/**
 * Server-side rendering of the `core/post-comments` block.
 *
 * @package WordPress
 */

/* function render_block_core_post_comments() – Renders the `core/post-comments` block on the server. */

/* function register_block_core_post_comments() – Registers the `core/post-comments` block on the server. */
add_action( 'init', 'register_block_core_post_comments' );

/* function post_comments_block_form_defaults() – Use the button block classes for the form-submit button. */
add_filter( 'comment_form_defaults', 'post_comments_block_form_defaults' );
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,,