woocommerce_api_query_args filter-hookWC 1.0

resource page

Usage

add_filter( 'woocommerce_api_query_args', 'wp_kama_woocommerce_api_query_args_filter', 10, 2 );

/**
 * Function for `woocommerce_api_query_args` filter-hook.
 * 
 * @param  $args         
 * @param  $request_args 
 *
 * @return 
 */
function wp_kama_woocommerce_api_query_args_filter( $args, $request_args ){

	// filter...
	return $args;
}
$args
-
$request_args
-

Where the hook is called

WC_API_Resource::merge_query_args()
woocommerce/includes/legacy/api/v3/class-wc-api-resource.php 237
$args = apply_filters( 'woocommerce_api_query_args', $args, $request_args );
woocommerce/includes/legacy/api/v2/class-wc-api-resource.php 229
$args = apply_filters( 'woocommerce_api_query_args', $args, $request_args );

Where the hook is used in WooCommerce

Usage not found.