Summery Summery
Filters the adjacent post link.
Syntax Syntax
Description Description
The dynamic portion of the hook name, $adjacent
, refers to the type of adjacency, ‘next’ or ‘previous’.
Parameters Parameters
- $output
-
(string) The adjacent post link.
- $format
-
(string) Link anchor format.
- $link
-
(string) Link permalink format.
- $post
-
(WP_Post) The adjacent post.
- $adjacent
-
(string) Whether the post is previous or next.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.2.0 | Added the $adjacent parameter. |
2.6.0 | Introduced. |