[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/ -> post-navigation-link.php (summary)

Server-side rendering of the `core/post-navigation-link` block.

File Size: 139 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  render_block_core_post_navigation_link()
  register_block_core_post_navigation_link()

Functions
Functions that are not part of a class:

render_block_core_post_navigation_link( $attributes, $content )   X-Ref
Renders the `core/post-navigation-link` block on the server.

return: string Returns the next or previous post link that is adjacent to the current post.
param: array  $attributes Block attributes.
param: string $content    Block default content.

register_block_core_post_navigation_link()   X-Ref
Registers the `core/post-navigation-link` block on the server.




Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref