If order status updated to ‘cancelled’ execute ‘failed_status_ cancel’
add_action(‘woocommerce_order_status_cancelled’, ‘failed_status_cancel’);
If order status updated to ‘cancelled’ execute ‘failed_status_ cancel’
add_action(‘woocommerce_order_status_cancelled’, ‘failed_status_cancel’);