posts_join_paged
Filters the JOIN clause of the query.
Specifically for manipulating paging queries.
Использование
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(строка)
- The JOIN clause of the query.
Список изменений
С версии 1.5.0 | Введена. |
Где вызывается хук
posts_join_paged
wp-includes/class-wp-query.php 2838
$join = apply_filters_ref_array( 'posts_join_paged', array( $join, &$this ) );