Added the woocommerce_api_query_args filter, closes #7081
This commit is contained in:
parent
bb595103e2
commit
4be3c9831e
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue