PRO wcus_ttn_form_barcode

Allows to change shipment barcode when TTN creating.

Usage:

add_filter('wcus_ttn_form_barcode', function ($barcode, $order) {
    return $order->get_id();
}, 10, 2);

Arguments:

$barcode (string) - default barcode (empty string)

$order (WC_Order) - WooCommerce order