posts_join_paged filter-hookWP 1.5.0

Filters the JOIN clause of the query.

Specifically for manipulating paging queries.

Usage

add_filter( 'posts_join_paged', 'wp_kama_posts_join_paged_filter' );

/**
 * Function for `posts_join_paged` filter-hook.
 * 
 * @param string $join The JOIN clause of the query.
 *
 * @return string
 */
function wp_kama_posts_join_paged_filter( $join ){

	// filter...
	return $join;
}
$join(string)
The JOIN clause of the query.

Changelog

Since 1.5.0 Introduced.

Where the hook is called

WP_Query::get_posts()
posts_join_paged
wp-includes/class-wp-query.php 2887
$join = apply_filters_ref_array( 'posts_join_paged', array( $join, &$this ) );

Where the hook is used in WordPress

Usage not found.