Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
posts_join

Description

Applied to the JOIN clause of the query that returns the post array. This is typically used to add a table to the JOIN, in combination with the posts_where filter.

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 posts_join

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

Version File Line Type
1.5.2 wp-includes/classes.php 516 View in context filter
2.0 wp-includes/classes.php 601 View in context filter
2.0.11 wp-includes/classes.php 621 View in context filter
2.1 wp-includes/query.php 948 View in context filter
2.2 wp-includes/query.php 992 View in context filter
2.3 wp-includes/query.php 1190 View in context filter
2.5 wp-includes/query.php 1342 View in context filter
2.6 wp-includes/query.php 1365 View in context filter
2.7 wp-includes/query.php 2150 View in context filter
2.8 wp-includes/query.php 2155 View in context filter
2.9 wp-includes/query.php 2149 View in context filter
3.0 wp-includes/query.php 2318 View in context filter
3.1 wp-includes/query.php 2452 View in context filter
3.2 wp-includes/query.php 2498 View in context filter
3.3 wp-includes/query.php 2507 View in context filter
3.4 wp-includes/query.php 2505 View in context filter
3.5 wp-includes/query.php 2524 View in context filter
3.6 wp-includes/query.php 2541 View in context filter
3.7 wp-includes/query.php 2780 View in context filter
3.8 wp-includes/query.php 2795 View in context filter
3.9 wp-includes/query.php 2863 View in context filter
4.0 wp-includes/query.php 3043 View in context filter
4.1 wp-includes/query.php 3057 View in context filter
4.2 wp-includes/query.php 3077 View in context filter
4.3 wp-includes/query.php 3083 View in context filter
4.4 wp-includes/query.php 3204 View in context filter
4.5 wp-includes/query.php 3194 View in context filter
4.6 wp-includes/query.php 3211 View in context filter
4.7 wp-includes/class-wp-query.php 2401 View in context filter
4.8 wp-includes/class-wp-query.php 2411 View in context filter
4.9 wp-includes/class-wp-query.php 2386 View in context filter
5.0 wp-includes/class-wp-query.php 2386 View in context filter
5.1 wp-includes/class-wp-query.php 2529 View in context filter

Related Hooks

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