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
檢視更多 >