2020-05-01 / 4295阅 / 悠然
Retrieves the adjacent post link.
Can be either next post link or previous.
(string)
(Required)
Link anchor format.
(string)
(Required)
Link permalink format.
(bool)
(Optional)
Whether link should be in a same taxonomy term.
Default value: false
(array|string)
(Optional)
Array or comma-separated list of excluded terms IDs.
Default value: ''
(bool)
(Optional)
Whether to display link to previous or next post.
Default value: true
(string)
(Optional)
Taxonomy, if $in_same_term is true.
Default value: 'category'
(string) The link URL of the previous or next post in relation to the current post.