woocommerce_api_edit_order_data filter-hookWC 1.0

Usage

add_filter( 'woocommerce_api_edit_order_data', 'wp_kama_woocommerce_api_edit_order_data_filter', 10, 3 );

/**
 * Function for `woocommerce_api_edit_order_data` filter-hook.
 * 
 * @param  $data 
 * @param  $id   
 * @param  $that 
 *
 * @return 
 */
function wp_kama_woocommerce_api_edit_order_data_filter( $data, $id, $that ){

	// filter...
	return $data;
}
$data
-
$id
-
$that
-

Where the hook is called

WC_API_Orders::edit_order()
woocommerce_api_edit_order_data
woocommerce/includes/legacy/api/v3/class-wc-api-orders.php 555
$data  = apply_filters( 'woocommerce_api_edit_order_data', $data, $id, $this );
woocommerce/includes/legacy/api/v2/class-wc-api-orders.php 517
$data  = apply_filters( 'woocommerce_api_edit_order_data', $data, $id, $this );

Where the hook is used in WooCommerce

Usage not found.