Used By
Used By | Description |
---|---|
wp-includes/link-template.php: get_adjacent_post_link() | Retrieves the adjacent post link. |
Filters the adjacent post link.
The dynamic portion of the hook name, $adjacent
, refers to the type of adjacency, ‘next’ or ‘previous’.
(string) The adjacent post link.
(string) Link anchor format.
(string) Link permalink format.
(WP_Post) The adjacent post.
(string) Whether the post is previous or next.
Version | Description |
---|---|
4.2.0 | Added the $adjacent parameter. |
2.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/adjacent_post_link