register_block_core_post_navigation_link()
Registers the core/post-navigation-link block on the server.
No Hooks.
Returns
null. Nothing (null).
Usage
register_block_core_post_navigation_link();
Changelog
| Since 5.9.0 | Introduced. |
register_block_core_post_navigation_link() register block core post navigation link code WP 6.9.1
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',
)
);
}