comment_feed_join хук-фильтр . WP 2.2.0
Filters the JOIN clause of the comments feed query before sending.
Использование
add_filter( 'comment_feed_join', 'filter_function_name_2650', 10, 2 ); function filter_function_name_2650( $cjoin, $this ){ // filter... return $cjoin; }
- $cjoin(строка)
- The JOIN clause of the query.
- $this(WP_Query)
- The WP_Query instance (passed by reference).
Список изменений
С версии 2.2.0 | Введена. |
Где вызывается хук
comment_feed_join
wp-includes/class-wp-query.php 2614
$cjoin = apply_filters_ref_array( 'comment_feed_join', array( $cjoin, &$this ) );
wp-includes/class-wp-query.php 3050
$cjoin = apply_filters_ref_array( 'comment_feed_join', array( '', &$this ) );