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