Actions

includes/class-yith-shippo-order-shipping.php

Copied!
Copy

This hook is triggered after that the shipping as paid and the transaction has been created

Params
 array                      $transaction Transaction created.
 int                        $order_id Order id.
 string                     $key Current key of rate.
 YITH_Shippo_Order_Shipping $this Current object.

includes/class-yith-shippo-tracking.php

Copied!
Copy

Params
 string                     $old_status Old status.
 string                     $new_status New status.
 array                      $tracking_updated Updated tracking info.
 string                     $key Current key of rate.
 YITH_Shippo_Order_Shipping $this Current object.

Copied!
Copy

Params
 string                     $old_status Old status.
 string                     $new_status New status.
 array                      $tracking_updated Updated tracking info.
 string                     $key Current key of rate.
 YITH_Shippo_Order_Shipping $this Current object.

includes/data-stores/class-yith-shippo-parcel-box-data-store.php

Copied!
Copy

This action is triggered after the creation of a new parcel box

Params
 int                    $parcel_box_id New parcel box id.
 YITH_Shippo_Parcel_Box $parcel_box New parcel box object.

Copied!
Copy

This action is triggered after the loading of a parcel box

Params
 YITH_Shippo_Parcel_Box $parcel_box New parcel box object.

Copied!
Copy

This action is triggered when a parcel box is updated

Params
 int $parcel_box_id Parcel box id.

Copied!
Copy

This action is triggered when a parcel box is deleted

Params
 int                    $parcel_box_id Parcel box id.
 YITH_Shippo_Parcel_Box $parcel_box New parcel box object.

includes/data-stores/class-yith-shippo-shipping-rule-data-store.php

Copied!
Copy

Action triggered after update a rule

Params
 int                       $id the rule id.
 YITH_Shippo_Shipping_Rule $rule The rule.

Copied!
Copy

Action triggered before delete a rule

Params
 int                       $id the rule id.
 YITH_Shippo_Shipping_Rule $rule The rule.

Copied!
Copy

Action triggered just before delete a rule

Params
 int                       $id the rule id.
 YITH_Shippo_Shipping_Rule $rule The rule.

Copied!
Copy

Action triggered before delete a rule

Params
 int                       $id the rule id.
 YITH_Shippo_Shipping_Rule $rule The rule.

includes/data-stores/class-yith-shippo-tracking-data-store.php

Copied!
Copy

This action is triggered after the creation of a new tracking

Params
 int                  $tracking_id New tracking id.
 YITH_Shippo_Tracking $tracking New tracking object.

Copied!
Copy

This action is triggered after the loading of a tracking

Params
 YITH_Shippo_Tracking $tracking New tracking box object.

Copied!
Copy

This action is triggered when a parcel box is triggered

Params
 int $tracking_id Tracking id.

Copied!
Copy

This action is triggered when a tracking is deleted

Params
 int                  $tracking_id Tracking id.
 YITH_Shippo_Tracking $tracking New tracking box object.

Filters

includes/abstracts/class-yith-shippo-abstract-object.php

Copied!
Copy

This filter allow to manage the object data as array

Params
 array $object the object data.

Return array

includes/admin/views/shipping/validate-products-modal.php

Copied!
Copy

This filter allow to set limit of products on the product validation ajax process

Params
 int $limit The limit. Default: 20

Return int

includes/class-yith-shippo-admin.php

Copied!
Copy

This filter allow to add, remove or change the main tab inside the settings panel

Params
   array  $admin_tabs  List of admin tabs

Return array

Copied!
Copy

This filter allow change the arguments to create the admin panel

Params
   array  $arguments  List of settings.

Return array

Copied!
Copy

This filter allow to add, remove or change the main tab inside the settings panel

Params
   array  $admin_tabs  List of admin tabs

Return array

Copied!
Copy

This filter allow to add additional order status where is possible try to autocomple the order

Params
   array  $order_status  list of order status.

Return array

includes/class-yith-shippo-assets.php

Copied!
Copy

The filter allow to add ,remove the data in the script

Params
 array $data The script data.

Return array

Copied!
Copy

This filter allow to add, remove or change the param of a specific script

Params
 array  $params The script params.
 string $handle The script handle.

Return array

includes/class-yith-shippo-autoloader.php

Copied!
Copy

The filter allow to add remove the class to autoload

Params
 array $mapped_files The mapped files array.

Return array

includes/class-yith-shippo-autotracking.php

Copied!
Copy

This filter allow disable the autotracking scheduler

Params
   bool  $enable_autotracking  Status of option to set.

Return bool

includes/class-yith-shippo-shipping-email.php

Copied!
Copy

This filter allow to add additional CSS to the emails

Params
   string  $newcss  The CSS code.

Return string

includes/class-yith-shippo.php

Copied!
Copy

Filter the locale

Params
 string $locale the locale.
 string $text_domain The text domain.

Return string

includes/data-stores/class-yith-shippo-shipping-rule-data-store.php

Copied!
Copy

This filter allow to change the rule id created

Params
 int $rule_id the rule id.

Return int

includes/shippo-request/class-yith-shippo-request.php

Copied!
Copy

This filter allow to set if the sandbox environment is enabled

Params
 bool $is_sandbox Sandbox status.

Return bool

includes/traits/trait-yith-shippo-trait-cacheable.php

Copied!
Copy

The filter allow to manage the shippo cache object

Params
 WP_Object_Cache $wp_object_cache The object cache.

Return WP_Object_Cache

includes/yith-shippo-functions.php

Copied!
Copy

This filter allow to add, remove or change the postage content

Params
 array $postage_content List of contents

Return array

Copied!
Copy

This filter allow to add, remove or change the substatus that require an action

Params
 array $substatus List of substatus.

Return array

plugin-options/bh-onboarding-options.php

Copied!
Copy

This filter allow to manage the parcel packing subtabs

Params
   array  $parcel_tab  List of subtabs.

Return array

plugin-options/checkout-options.php

Copied!
Copy

This filter allow to manage the extra options panel

Params
   array  $extra_options  List of extra options.

Return array

plugin-options/general-options.php

Copied!
Copy

This filter allow to manage the general options panel

Params
 array $general_options List of options.

Return array

plugin-options/parcel-options.php

Copied!
Copy

This filter allow to manage the parcel packing subtabs

Params
   array  $parcel_tab  List of subtabs.

Return array

plugin-options/parcel/parcel-adjustment-options.php

Copied!
Copy

This filter allow to manage the options on the "Parcel Adjustment" tab

Params
   array  $parcel_adjustment_options  List of options.

Return array

plugin-options/parcel/parcel-boxes-options.php

Copied!
Copy

This filter allow to manage the options on the "Parcel Boxes" tab

Params
 array $parcel_boxes_options List of options.

Return array

plugin-options/parcel/postage-options.php

Copied!
Copy

This filter allow to manage the options on the "Postage options" tab

Params
 array $postage_options List of options.

Return array

plugin-options/shipping/rates-options.php

Copied!
Copy

This filter allow to add, remove or change the shipping rates options

Params
 array $shipping_rates_options

plugin-options/shipping/rules-options.php

Copied!
Copy

This filter allow to add,remove or change the shipping rules options

Params
 array $shipping_rule_options

plugin-options/shipping/sender-info-options.php

Copied!
Copy

This filter allow to manage the options on the "Sender info" tab

Params
 array $options List of options.

Return array