wpseek.com
A WordPress-centric search engine for devs and theme authors
get_{$adjacent}_post_join › WordPress Filter Hooks
Since4.4.0
Deprecatedn/a
› apply_filters( "get_{$adjacent}_post_join", $join, $in_same_term, $excluded_terms, $taxonomy, $post )
Parameters: (5) |
|
Defined at: |
|
Codex: |
Filters the JOIN clause in the SQL for an adjacent post query.
The dynamic portion of the hook name, $adjacent
, refers to the type
of adjacency, 'next' or 'previous'.
Possible hook names include:
get_next_post_join
get_previous_post_join
Related Functions: get_adjacent_post_link, get_adjacent_post, get_adjacent_post_rel_link, adjacent_post_link, adjacent_posts_rel_link, get_delete_post_link