register_block_core_comment_content()
Registers the core/comment-content block on the server.
No Hooks.
Return
null
. Nothing (null).
Usage
register_block_core_comment_content();
Changelog
Since 6.0.0 | Introduced. |
register_block_core_comment_content() register block core comment content code WP 6.6.1
function register_block_core_comment_content() { register_block_type_from_metadata( __DIR__ . '/comment-content', array( 'render_callback' => 'render_block_core_comment_content', ) ); }