View Product Page

Filters

includes/class.carriers.php

Copied!
Copy

Filter the carrier list array

Params
 array $carriers the carrier list

Return array

includes/class.yith-tracking-data.php

Copied!
Copy

Filter the tracking postcode getter

Params
 string the tracking postcode
 object the order object

Return string

includes/class.yith-woocommerce-order-tracking-premium.php

Copied!
Copy

Filter the condition to show the tracking information in the packing slip from YITH PDF Invoice and Packing Slips plugin

Params
 bool true to display it, false to not
 object $document the invoice document object

Return bool

Copied!
Copy

Filter the order statuses not available for the picked up changes

Params
 array array with the order statuses

Return array

Copied!
Copy

Filter the order status to be set when the order is marked as picked up

Params
 string the order status
 object $order the order object

Return string

Copied!
Copy

Filter the title of the vendor shop name in the tracking

Params
 string the title text

Return string

Copied!
Copy

Filter the suborder verification if YITH Multi Vendor is enabled

Params
 bool true to enable it, false to not

Return bool

Copied!
Copy

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

Return bool

Copied!
Copy

Filter the condition to block the tracking message in the email

Params
 bool true to block it, false to not. Default: false

Return bool

Copied!
Copy

Filter the "Track your order" label in the tracking information

Params
 string the label text

Return string

Copied!
Copy

Filter the tracking URL

Params
 string the tracking URL

Return string

Copied!
Copy

Filter the tracking link in HTML

Params
 string the tracking link

Return string

Copied!
Copy

Filter the tracking message HTML

Params
 string the messsage HTML

Return string

Copied!
Copy

Filter the tracking message HTML formatted

Params
 string the message HTML

Return string

Copied!
Copy

Filter the picked up message

Params
 string the message

Return string

Copied!
Copy

Filter the tracking message HTML formatted in the orders page

Params
 string the message HTML

Return string

Copied!
Copy

Filter the "Track" label in "My Account" orders

Params
 string the label

Return string

Copied!
Copy

Filters whether to include the tracking details in the order emails

Params
 bool     $include Whether to include the tracking details or not.
 WC_Order $order   Order object.

Return bool

Copied!
Copy

Filter the order statuses where not display the tracking information

Params
 array the order statuses. Default: 'customer_refunded_order' and 'customer_partially_refunded_order'

Return array

Copied!
Copy

Filter to allow custom styles to the tracking container in the email

Params
 string the custom style
 object $order the order object

Return string

Copied!
Copy

Filter to allow custom styles to the tracking container title in the email

Params
 string the custom style
 object $order the order object

Return string

Copied!
Copy

Filter the "Tracking info" title in the email

Params
 string the title
 string the custom style
 object $order the order object

Return string

Copied!
Copy

Filter to allow custom styles in the email

Params
 string the styles

Return string

Copied!
Copy

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

Return int

includes/class.yith-woocommerce-order-tracking.php

Copied!
Copy

Filter the Order Tracking settings panel capabilities

Params
 string the capabilities

Return string

Copied!
Copy

Filter the plugin script path URL

Params
 string the plugin script path URL

Return string

Copied!
Copy

Filter the condition to enable the tracking features to the YITH vendors

Params
 bool yes to enable it, false to not. Default: yes

Return bool

Copied!
Copy

Filter the default value of the picked up option

Params
 bool yes to show picked up as default, no to not. Default: no

Return bool

Copied!
Copy

Filter the "Tracking code: " label on the tracking metabox

Params
 string the label text

Return string

Copied!
Copy

Filter the "Tracking postcode: " label on the tracking metabox

Params
 string the label text

Return string

Copied!
Copy

Filter the tracking postcode placeholder on the tracking metabox

Params
 string the placeholder text

Return string

Copied!
Copy

Filter the YITH Multi Vendor suborder to display the tracking icons

Params
 array the suborders array

Return array