parse_comment_query action-hookWP 4.2.0

Fires after the comment query vars have been parsed.

Usage

add_action( 'parse_comment_query', 'wp_kama_parse_comment_query_action' );

/**
 * Function for `parse_comment_query` action-hook.
 * 
 * @param WP_Comment_Query $query The WP_Comment_Query instance (passed by reference).
 *
 * @return void
 */
function wp_kama_parse_comment_query_action( $query ){

	// action...
}
$query(WP_Comment_Query)
The WP_Comment_Query instance (passed by reference).

Changelog

Since 4.2.0 Introduced.

Where the hook is called

WP_Comment_Query::parse_query()
parse_comment_query
wp-includes/class-wp-comment-query.php 348
do_action_ref_array( 'parse_comment_query', array( &$this ) );

Where the hook is used in WordPress

Usage not found.