Improved the woocommerce_api_query_args filter #7081

This commit is contained in:
Claudio Sanches 2015-01-12 16:46:30 -02:00
parent d290be0749
commit 3cddfb44e9
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ 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 );
$args = apply_filters( 'woocommerce_api_query_args', $args, $request_args );
return array_merge( $base_args, $args );
}