posts_join хук-фильтрWP 1.5.0

Filters the JOIN clause of the query.

Использование

add_filter( 'posts_join', 'wp_kama_posts_join_filter' );

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

	// filter...
	return $join;
}
$join(строка)
The JOIN clause of the query.

Список изменений

С версии 1.5.0 Введена.

Где вызывается хук

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

Где используется хук в WordPress

Использование не найдено.