single.html
WordPress core a2z

WordPress core a2z

WordPress core only

  • Home
  • Blocks
  • Plugins
  • Themes
  • Sitemap
  • Blog
  • Block news
  • About

Home » Files » wp-includes » wp-includes/blocks » wp-includes/blocks/comments.php

wp-includes/blocks/comments.php


Lines:

1 to 23 of 23
<?php

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

/* function render_block_core_comments() – Renders the `core/comments` block on the server. */

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

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

/* function enqueue_legacy_post_comments_block_styles() – Enqueues styles from the legacy `core/post-comments` block. These styles are
required only by the block’s fallback. */

/* function register_legacy_post_comments_block() – Ensures backwards compatibility for any users running the Gutenberg plugin
who have used Post Comments before it was merged into Comments Query Loop. */
add_action( 'init', 'register_legacy_post_comments_block', 21 );
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: wp-includes/blocks/comments.php
      Plugin ref: WordPress
      Version: 6.2.2
      Deprecated?: No
      API Letters: B,C,I,P,W

      Published:

      31st October 2022

      Last updated:

      31st October 2022

      Information

      File name: wp-includes/blocks/comments.php
      Plugin ref: WordPress
      Version: 6.2.2
      Deprecated?: No
      API Letters: B,C,I,P,W
      WordPress core a2z

      WordPress core a2z

      WordPress core only

      WordPress version:6.2.2
      Gutenberg version:
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  core.wp-a2z.org
      (C) Copyright Bobbing Wide 2020-2023. All rights reserved.


      Website designed and developed by Herb Miller 
      Proudly powered by WordPress and oik plugins

      • Twitter
      • Facebook
      • GitHub
      • WordPress

      • Home
      • Blog
      • Sitemap
      • Sites

      Summary file