woocommerce_api_dispatch_args filter-hookWC 1.0

Usage

add_filter( 'woocommerce_api_dispatch_args', 'wp_kama_woocommerce_api_dispatch_args_filter', 10, 2 );

/**
 * Function for `woocommerce_api_dispatch_args` filter-hook.
 * 
 * @param  $args     
 * @param  $callback 
 *
 * @return 
 */
function wp_kama_woocommerce_api_dispatch_args_filter( $args, $callback ){

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

Where the hook is called

WC_API_Server::dispatch()
woocommerce_api_dispatch_args
woocommerce/includes/legacy/api/v1/class-wc-api-server.php 361
$args = apply_filters( 'woocommerce_api_dispatch_args', $args, $callback );
woocommerce/includes/legacy/api/v3/class-wc-api-server.php 359
$args = apply_filters( 'woocommerce_api_dispatch_args', $args, $callback );
woocommerce/includes/legacy/api/v2/class-wc-api-server.php 359
$args = apply_filters( 'woocommerce_api_dispatch_args', $args, $callback );

Where the hook is used in WooCommerce

Usage not found.