PRO wcus_ttn_form_cost

Allows to change parcel declared cost when creating TTN.

Usage:

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

Arguments:

$cost (float) - current calculated cost

$order (WC_Order) - WooCommerce order