register_block_core_post_author_name

函式
register_block_core_post_author_name ( No parameters )

在伺服器上註冊 ` core/post-author-name ` 區塊。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
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',
)
);
}
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', ) ); }
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
檢視更多 >