From 2ac8e6afe04e44378a8449d2830020608a6a007b Mon Sep 17 00:00:00 2001 From: Barry Ceelen Date: Wed, 18 Sep 2024 11:57:53 +0200 Subject: [PATCH] Fix docblock for ep_formatted_args and ep_post_formatted_args --- includes/classes/Indexable/Post/Post.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/classes/Indexable/Post/Post.php b/includes/classes/Indexable/Post/Post.php index a381cef78..5385e07e8 100644 --- a/includes/classes/Indexable/Post/Post.php +++ b/includes/classes/Indexable/Post/Post.php @@ -934,24 +934,24 @@ public function format_args( $args, $wp_query ) { $formatted_args = $this->maybe_set_aggs( $formatted_args, $args, $filters ); /** - * Filter formatted Elasticsearch [ost ]query (entire query) + * Filter formatted Elasticsearch query (entire query) * * @hook ep_formatted_args * @param {array} $formatted_args Formatted Elasticsearch query - * @param {array} $query_vars Query variables - * @param {array} $query Query part - * @return {array} New query + * @param {array} $args WP_Query variables + * @param {object} $wp_query WP_Query object + * @return {array} New query */ $formatted_args = apply_filters( 'ep_formatted_args', $formatted_args, $args, $wp_query ); /** - * Filter formatted Elasticsearch [ost ]query (entire query) + * Filter formatted Elasticsearch post query (entire query) * * @hook ep_post_formatted_args * @param {array} $formatted_args Formatted Elasticsearch query - * @param {array} $query_vars Query variables - * @param {array} $query Query part - * @return {array} New query + * @param {array} $args WP_Query variables + * @param {object} $wp_query WP_Query object + * @return {array} New query */ $formatted_args = apply_filters( 'ep_post_formatted_args', $formatted_args, $args, $wp_query );