register_block_core_comment_template()
Registers the core/comment-template block on the server.
No Hooks.
Return
null
. Nothing (null).
Usage
register_block_core_comment_template();
Changelog
Since 6.0.0 | Introduced. |
register_block_core_comment_template() register block core comment template code WP 6.8
function register_block_core_comment_template() { register_block_type_from_metadata( __DIR__ . '/comment-template', array( 'render_callback' => 'render_block_core_comment_template', 'skip_inner_blocks' => true, ) ); }