woocommerce_api_query_args

woocommerce_api_query_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.9.3

apply_filters('woocommerce_api_query_args') is found 2 times:

  • /includes/legacy/api/v2/class-wc-api-resource.php line 229
     
    		// resource page
    		$args['paged'] = ( isset( $request_args['page'] ) ) ? absint( $request_args['page'] ) : 1;
    
    		$args = apply_filters( 'woocommerce_api_query_args', $args, $request_args );
    
    		return array_merge( $base_args, $args );
    	}
    
    	/**
    	 * Add meta to resources when requested by the client. Meta is added as a top-level
    
  • /includes/legacy/api/v3/class-wc-api-resource.php line 237
     
    		// resource page
    		$args['paged'] = ( isset( $request_args['page'] ) ) ? absint( $request_args['page'] ) : 1;
    
    		$args = apply_filters( 'woocommerce_api_query_args', $args, $request_args );
    
    		return array_merge( $base_args, $args );
    	}
    
    	/**
    	 * Add meta to resources when requested by the client. Meta is added as a top-level