Docs: Add a missing hook doc for the `parse_comment_query` hook, added in [31793].

Props flixos90.
See #24826. Fixes #36740.


git-svn-id: https://develop.svn.wordpress.org/trunk@37355 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-05-03 16:21:03 +00:00
parent c064ac690c
commit 20715283ce
1 changed files with 9 additions and 1 deletions

View File

@ -311,7 +311,7 @@ class WP_Comment_Query {
/**
* Parse arguments passed to the comment query with default query parameters.
*
* @since 4.2.0 Extracted from WP_Comment_Query::query().
* @since 4.2.0 Extracted from WP_Comment_Query::query().
*
* @access public
*
@ -323,6 +323,14 @@ class WP_Comment_Query {
}
$this->query_vars = wp_parse_args( $query, $this->query_var_defaults );
/**
* Fires after the comment query vars have been parsed.
*
* @since 4.2.0
*
* @param WP_Comment_Query &$this The WP_Comment_Query instance (passed by reference).
*/
do_action_ref_array( 'parse_comment_query', array( &$this ) );
}