woocommerce_api_delete_product action-hookWC 1.0

Usage

add_action( 'woocommerce_api_delete_product', 'wp_kama_woocommerce_api_delete_product_action', 10, 2 );

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

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

Where the hook is called

WC_API_Products::delete_product()
woocommerce_api_delete_product
woocommerce/includes/legacy/api/v3/class-wc-api-products.php 484
do_action( 'woocommerce_api_delete_product', $id, $this );
woocommerce/includes/legacy/api/v2/class-wc-api-products.php 425
do_action( 'woocommerce_api_delete_product', $id, $this );

Where the hook is used in WooCommerce

Usage not found.