wpseek.com
WordPress开发者和主题制作者的搜索引擎



register_block_core_post_template › WordPress Function

Sincen/a
已弃用n/a
register_block_core_post_template ( 没有参数 )
定义在:
文档:

Registers the `core/post-template` block on the server.



源码

function register_block_core_post_template() {
	register_block_type_from_metadata(
		__DIR__ . '/post-template',
		array(
			'render_callback'   => 'render_block_core_post_template',
			'skip_inner_blocks' => true,
		)
	);
}