register_block_core_post_navigation_link

函数


register_block_core_post_navigation_link ( No parameters )
定义位置
  • wp-includes/blocks/post-navigation-link.php
    , line 88
引入
弃用

在服务器上注册`core/post-navigation-link`区块。

function register_block_core_post_navigation_link() {
	register_block_type_from_metadata(
		__DIR__ . '/post-navigation-link',
		array(
			'render_callback' => 'render_block_core_post_navigation_link',
		)
	);
}