Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
get_next_post_join

Warning! This hook has been renamed!

As of WP version 2.5, this hook has been renamed to get_{$adjacent}_post_join.

Description

In function get_next_post (which finds the post after the currently-displayed post), applied to the SQL JOIN clause (which normally joins to the category table if user is viewing a category archive). Filter function arguments: JOIN clause, stay in same category (true/false), list of excluded categories.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for get_next_post_join

This database has information for all major versions from WP 1.2.1 through 6.2.

Version File Line Type
2.1 wp-includes/link-template.php 336 View in context filter
2.2 wp-includes/link-template.php 380 View in context filter
2.3 wp-includes/link-template.php 417 View in context filter
2.5 Renamed. See get_{$adjacent}_post_join

Related Hooks

We find related hooks using word stems. get_next_post_join has 3 significant word stem(s): next, post, join. Note that some of the hooks below may not appear in all versions of WP.