LLMS_REST_Controller::prepare_args_for_total_count_query( array $args, WP_REST_Request $request )
Prepare query args for total count query.
Parameters Parameters
- $args
-
(array) (Required) Array of query args.
- $request
-
(WP_REST_Request) (Required) Full details about the request.
Return Return
(array)
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-controller.php
if ( empty( $prepared['search_columns'] ) ) { return llms_rest_bad_request_error( __( 'You must provide a valid set of columns to search into.', 'lifterlms' ) ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.7 | Introduced. |