Change private wc-api method to protected.
Mainly so that it can be used in the new Subscriptions API :)
This commit is contained in:
parent
f3fbbdeecc
commit
e5c3385d3b
|
@ -663,7 +663,7 @@ class WC_API_Orders extends WC_API_Resource {
|
|||
* @param array $args request arguments for filtering query
|
||||
* @return WP_Query
|
||||
*/
|
||||
private function query_orders( $args ) {
|
||||
protected function query_orders( $args ) {
|
||||
|
||||
// set base query arguments
|
||||
$query_args = array(
|
||||
|
|
Loading…
Reference in New Issue