
如何列出MySQL数据库(分步代码教程)
register_block_core_latest_comments ( No parameters )
register_block_core_latest_comments: 此函数用于注册Gutenberg编辑器的”最新评论”块。该块显示文章或页面上的最新评论。
注册`core/latest-comments`区块。
function register_block_core_latest_comments() { register_block_type_from_metadata( __DIR__ . '/latest-comments', array( 'render_callback' => 'render_block_core_latest_comments', ) ); }