register_block_core_post_author_name

函数
register_block_core_post_author_name ( No parameters )

在服务器上注册 ` core/post-author-name ` 区块。

function register_block_core_post_author_name() {
	register_block_type_from_metadata(
		__DIR__ . '/post-author-name',
		array(
			'render_callback' => 'render_block_core_post_author_name',
		)
	);
}

常见问题

FAQs
查看更多 >