LLMS_REST_Controller_Stubs::get_objects_from_query( obj $query )
Retrieve an array of objects from the result of $this->get_objects_query().
Parameters Parameters
- $query
-
(obj) (Required) Objects query result.
Return Return
(obj[])
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-controller-stubs.php
protected function get_objects_from_query( $query ) { // Translators: %s = method name. _doing_it_wrong( 'LLMS_REST_Controller::get_objects_from_query', sprintf( __( "Method '%s' must be overridden.", 'lifterlms' ), __METHOD__ ), '1.0.0-beta.1' ); // For example. return array(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |