Automattic\WooCommerce\Internal\Admin\ProductReviews
ReviewsListTable::get_total_comments_arguments()
Returns the arguments used to count the total number of comments.
Method of the class: ReviewsListTable{}
No Hooks.
Return
Array
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_total_comments_arguments( $default_query_args ) : array;
- $default_query_args(array) (required)
- Query args for the main request.
ReviewsListTable::get_total_comments_arguments() ReviewsListTable::get total comments arguments code WC 9.6.1
protected function get_total_comments_arguments( array $default_query_args ) : array { return wp_parse_args( [ 'count' => true, 'offset' => 0, 'number' => 0, ], $default_query_args ); }