Change private wc-api method to protected.

Mainly so that it can be used in the new Subscriptions API :)
This commit is contained in:
matttallan 2015-02-04 11:24:16 +10:00
parent f3fbbdeecc
commit e5c3385d3b
1 changed files with 1 additions and 1 deletions

View File

@ -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(