Flexible Shipping hooks

flexible-shipping/condition/contents_value

Can modify contents cost passed to Price (value) condition.

Parameters:

  • float $contents_cost Contents cost.

Hook available since version: 4.1.1

flexible-shipping/condition/contents_weight

Can modify contents weight passed to Weight condition.

Parameters:

  • float $contents_weight Contents weight.

Hook available since version: 4.1.1

flexible-shipping/exporter/allowed_fields

flexible-shipping/exporter/data

flexible-shipping/group-method/converted-method

flexible-shipping/importer/json/data

flexible-shipping/method-rules-settings/table/after

flexible-shipping/method-rules-settings/table/before

flexible-shipping/method-rules/predefined-scenarios

flexible-shipping/notice/multiple-zone-matches-same-territory

Do action after multiple zones matches same territory notice created.

Parameters:

  • \MultipleShippingZonesMatchedSameTerritoryNotice $matched_shipping_zones_notice .

flexible-shipping/nps/should-display-nps

Should display NPS?

Parameters:

  • bool $should_display_nps

flexible-shipping/rate/meta_data

flexible-shipping/sell-box

flexible-shipping/settings/prepare-for-display

flexible-shipping/shipping-method/calculated-cost

flexible-shipping/shipping-method/default-rules-settings

flexible-shipping/shipping-method/free-shipping-callback

flexible-shipping/shipping-method/is-free-shipping

flexible-shipping/shipping-method/rules-calculation-function

flexible_shipping_add_method

flexible_shipping_converted_rule_settings

flexible_shipping_csv_delimiter

flexible_shipping_free_shipping_notice_excluded_methods

flexible_shipping_free_shipping_notice_text

flexible_shipping_integration_options

flexible_shipping_method_script

flexible_shipping_method_settings

flexible_shipping_process_admin_options

flexible_shipping_process_admin_options

flexible_shipping_rule_additional_cost

flexible_shipping_rule_additional_cost_fields

flexible_shipping_rule_conditions

flexible_shipping_rule_cost_fields

flexible_shipping_rule_special_action_fields

flexible_shipping_rules_table_settings

flexible_shipping_shipping_contents

flexible_shipping_special_actions

woocommerce_shipping_zone_method_status_toggled