woocommerce_api_delete_coupon action-hookWC 1.0

Usage

add_action( 'woocommerce_api_delete_coupon', 'wp_kama_woocommerce_api_delete_coupon_action', 10, 2 );

/**
 * Function for `woocommerce_api_delete_coupon` action-hook.
 * 
 * @param  $id   
 * @param  $that 
 *
 * @return void
 */
function wp_kama_woocommerce_api_delete_coupon_action( $id, $that ){

	// action...
}
$id
-
$that
-

Where the hook is called

WC_API_Coupons::delete_coupon()
woocommerce/includes/legacy/api/v3/class-wc-api-coupons.php 460
do_action( 'woocommerce_api_delete_coupon', $id, $this );
woocommerce/includes/legacy/api/v2/class-wc-api-coupons.php 460
do_action( 'woocommerce_api_delete_coupon', $id, $this );

Where the hook is used in WooCommerce

Usage not found.