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



register_block_core_site_tagline › WordPress Function

Since5.8.0
已弃用n/a
register_block_core_site_tagline ( 没有参数 )
定义在:
文档:

Registers the `core/site-tagline` block on the server.



源码

function register_block_core_site_tagline() {
	register_block_type_from_metadata(
		__DIR__ . '/site-tagline',
		array(
			'render_callback' => 'render_block_core_site_tagline',
		)
	);
}