comment_feed_join filter-hookWP 2.2.0

Filters the JOIN clause of the comments feed query before sending.

Usage

add_filter( 'comment_feed_join', 'wp_kama_comment_feed_join_filter' );

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

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

Changelog

Since 2.2.0 Introduced.

Where the hook is called

WP_Query::get_posts()
comment_feed_join
wp-includes/class-wp-query.php 2768
$cjoin = apply_filters_ref_array( 'comment_feed_join', array( $cjoin, &$this ) );
wp-includes/class-wp-query.php 3378
$cjoin = apply_filters_ref_array( 'comment_feed_join', array( '', &$this ) );

Where the hook is used in WordPress

Usage not found.