woocommerce_api_delete_order хук-событиеWC 1.0

Использование

add_action( 'woocommerce_api_delete_order', 'wp_kama_woocommerce_api_delete_order_action', 10, 2 );

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

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

Где вызывается хук

WC_API_Orders::delete_order()
woocommerce/includes/legacy/api/v3/class-wc-api-orders.php 693
do_action( 'woocommerce_api_delete_order', $id, $this );
woocommerce/includes/legacy/api/v2/class-wc-api-orders.php 657
do_action( 'woocommerce_api_delete_order', $id, $this );

Где используется хук в WooCommerce

Использование не найдено.