PRO wcus_ttn_form_cod_cost

Allows to change amount of COD payment when creating TTN.

Usage:

add_filter('wcus_ttn_form_cod_cost', function ($cost, $order) {
    return $cost;
}, 10, 2);

Arguments:

$cost (float) - current calculated cost

$order (WC_Order) - WooCommerce order