posts_join_request filter-hook . WP 2.5.0
Filters the JOIN clause of the query.
For use by caching plugins.
Usage
add_filter( 'posts_join_request', 'filter_function_name_1274', 10, 2 ); function filter_function_name_1274( $join, $this ){ // filter... return $join; }
- $join(string)
- The JOIN clause of the query.
- $this(WP_Query)
- The WP_Query instance (passed by reference).
Changelog
Since 2.5.0 | Introduced. |
Where the hook is called
posts_join_request
wp-includes/class-wp-query.php 2834
$join = apply_filters_ref_array( 'posts_join_request', array( $join, &$this ) );