includes/class.carriers.php
Filter the carrier list array
Params
array $carriers the carrier list
Returnarray
includes/class.yith-tracking-data.php
Filter the tracking postcode getter
Paramsstring the tracking postcode
object the order object
Returnstring
includes/class.yith-woocommerce-order-tracking-premium.php
Filter the condition to show the tracking information in the packing slip from YITH PDF Invoice and Packing Slips plugin
Paramsbool true to display it, false to not
object $document the invoice document object
Returnbool
Filter the order statuses not available for the picked up changes
Params
array array with the order statuses
Returnarray
Filter the order status to be set when the order is marked as picked up
Paramsstring the order status
object $order the order object
Returnstring
Filter the title of the vendor shop name in the tracking
Params
string the title text
Returnstring
Filter the suborder verification if YITH Multi Vendor is enabled
Params
bool true to enable it, false to not
Returnbool
Filter the condition to check if the order is shipped. If current order is not flagged as picked, don't show shipping information
Params
bool true to check it, false to not
Returnbool
Filter the condition to block the tracking message in the email
Params
bool true to block it, false to not. Default: false
Returnbool
Filter the "Track your order" label in the tracking information
Params
string the label text
Returnstring
Filter the tracking URL
Params
string the tracking URL
Returnstring
Filter the tracking link in HTML
Params
string the tracking link
Returnstring
Filter the tracking message HTML
Params
string the messsage HTML
Returnstring
Filter the tracking message HTML formatted
Params
string the message HTML
Returnstring
Filter the picked up message
Params
string the message
Returnstring
Filter the tracking message HTML formatted in the orders page
Params
string the message HTML
Returnstring
Filter the "Track" label in "My Account" orders
Params
string the label
Returnstring
Filters whether to include the tracking details in the order emails
Paramsbool $include Whether to include the tracking details or not.
WC_Order $order Order object.
Returnbool
Filter the order statuses where not display the tracking information
Params
array the order statuses. Default: 'customer_refunded_order' and 'customer_partially_refunded_order'
Returnarray
Filter to allow custom styles to the tracking container in the email
Paramsstring the custom style
object $order the order object
Returnstring
Filter to allow custom styles to the tracking container title in the email
Paramsstring the custom style
object $order the order object
Returnstring
Filter the "Tracking info" title in the email
Paramsstring the title
string the custom style
object $order the order object
Returnstring
Filter to allow custom styles in the email
Params
string the styles
Returnstring
Filter the order ID when importing the CSV. Useful to be able to import the CSV using the order number
Params
int $order_id the order ID
Returnint
includes/class.yith-woocommerce-order-tracking.php
Filter the Order Tracking settings panel capabilities
Params
string the capabilities
Returnstring
Filter the plugin script path URL
Params
string the plugin script path URL
Returnstring
Filter the condition to enable the tracking features to the YITH vendors
Params
bool yes to enable it, false to not. Default: yes
Returnbool
Filter the default value of the picked up option
Params
bool yes to show picked up as default, no to not. Default: no
Returnbool
Filter the "Tracking code: " label on the tracking metabox
Params
string the label text
Returnstring
Filter the "Tracking postcode: " label on the tracking metabox
Params
string the label text
Returnstring
Filter the tracking postcode placeholder on the tracking metabox
Params
string the placeholder text
Returnstring
Filter the YITH Multi Vendor suborder to display the tracking icons
Params
array the suborders array
Returnarray