woocommerce_product_reviews_list_table_prepare_items_args

woocommerce_product_reviews_list_table_prepare_items_args

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_reviews_list_table_prepare_items_args') is found 1 times:

  • /src/Internal/Admin/ProductReviews/ReviewsListTable.php line 106
    		 * @since 7.0.0
    		 *
    		 * @param array $args Comment query args.
    		 */
    		$args     = (array) apply_filters( 'woocommerce_product_reviews_list_table_prepare_items_args', $args );
    		$comments = get_comments( $args );
    
    		update_comment_cache( $comments );
    
    		$this->items = $comments;