Added the woocommerce_api_query_args filter, closes #7081

This commit is contained in:
Claudio Sanches 2015-01-12 13:59:27 -02:00
parent bb595103e2
commit 4be3c9831e
1 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,8 @@ class WC_API_Resource {
// resource page
$args['paged'] = ( isset( $request_args['page'] ) ) ? absint( $request_args['page'] ) : 1;
$args = apply_filters( 'woocommerce_api_query_args', $args );
return array_merge( $base_args, $args );
}