DHL eCommerce (Poland) dla WooCommerce 2.0.7 has 13 actions and 50 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when DHL eCommerce (Poland) dla WooCommerce fires an action
add_action( 'flexible_shipping_checkout_shipment_created', function( $shipment ) {
// Your code runs here.
}, 10, 1 );
// Change a value DHL eCommerce (Poland) dla WooCommerce is about to use
add_filter( 'the_content', function( $isset ) {
// Change $isset here.
return $isset;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
flexible_shipping_checkout_shipment_created
action Used by 2 plugins β Copy link Customise this hook/** * Do actions when shipment is created via checkout. */ do_action( 'flexible_shipping_checkout_shipment_created', $shipment ); -
flexible-shipping/shipment-from-subscription/created/{$integration}
action Copy link Customise this hook/** * New shipment created from subscription. */ do_action( "flexible-shipping/shipment-from-subscription/created/{$integration}", $order_shipment ); -
apply_filters( 'the_content', isset($response->sections['description_base64']) ? \base64_decode($response->sections['description_base64']) : '' ); -
apply_filters( 'wpdesk_tracker_do_not_ask', \false ); -
apply_filters( 'wpdesk_tracker_use_testdata', \false ); -
apply_filters( 'flexible_shipping_add_shipping_options', array() ); -
apply_filters( 'flexible_shipping_integration_options', [] ); -
apply_filters( 'flexible_shipping_shipment_class', 'WPDesk_Flexible_Shipping_Shipment_' . $integration, $integration ); -
apply_filters( 'wpdesk_track_plugin_deactivation', $plugins ); -
apply_filters( 'wpdesk_tracker_admin_email', \get_option('admin_email') ); -
apply_filters( 'wpdesk_tracker_deactivation_data', $payload ); -
apply_filters( 'wpdesk_tracker_enabled', \true ); -
apply_filters( "{self::OCTOLIZE_WP_ONBOARDING_ALLOWED}/{$this->onboarding_id}", \true ); -
apply_filters( 'dhl_polska_shipment_content', __( 'PrzesyΕka', 'dhl-polska' ), $this->shipment ); -
apply_filters( 'dhl_polska_shipment_default_references', $default_references, $this->shipment ); -
apply_filters( 'flexible_shipping_has_manifests', \false ); -
flexible_shipping_register_shipment_statuses
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'flexible_shipping_register_shipment_statuses', array('fs-new' => array('label' => _x('New', 'Shipment status', 'dhl-polska'), 'public' => \false, 'exclude_from_search' => \false, 'show_in_admin_all_list' => \true, 'show_in_admin_status_list' => \true, 'label_count' => _n_noop('New <span class="count">(%s)</span>', 'New <span class="count">(%s)</span>', 'dhl-polska')), 'fs-created' => array('label' => _x('Created', 'Shipment status', 'dhl-po... ); -
do_action( 'flexible_shipping_shipment_confirmed', $this ); -
flexible-shipping/shipment-from-subscription/meta-value/{$integration}
filter Copy link Customise this hookapply_filters( "flexible-shipping/shipment-from-subscription/meta-value/{$integration}", $shipment->get_meta($meta_key), $meta_key, $order_shipment ); -
flexible-shipping/shipment/load-functionality
filter Used by 2 plugins β Copy link Customise this hookapply_filters( 'flexible-shipping/shipment/load-functionality', $this->already_loaded ); -
apply_filters( "flexible-shipping/shipment/supported-order-type/{$integration}", $supported, $order_type ); -
octolize-checkout-block-integration-{$this->integration_name}-data
filter Copy link Customise this hookapply_filters( "octolize-checkout-block-integration-{$this->integration_name}-data", [$this->field_name => ''] ); -
octolize-checkout-block-integration-{$this->integration_name}-schema
filter Copy link Customise this hookapply_filters( "octolize-checkout-block-integration-{$this->integration_name}-schema", [$this->field_name => ['description' => __('Field', 'dhl-polska'), 'type' => ['string'], 'context' => ['view', 'edit'], 'readonly' => \false, 'optional' => \false, 'arg_options' => ['validate_callback' => function ($value) { return \true; }]]] ); -
octolize-pickup-point-blocks-{$this->integration_name}-before_update_order_meta
action Copy link Customise this hookdo_action( "octolize-pickup-point-blocks-{$this->integration_name}-before_update_order_meta", $value, $order ); -
apply_filters( "octolize-pickup-point-blocks-{$this->integration_name}-data", [$this->field_name => $point_id, 'default_options' => apply_filters('octolize-pickup-point-blocks-' . $this->integration_name . '-default_options', [['label' => __('Please enter at least 3 characters', 'dhl-polska'), 'value' => '']], $point_id), 'field_label' => __('Selected pickup point', 'dhl-polska'), 'button_label' => __('Select from map', 'dhl-polska'), 'hide_selected_point_field' => \false] ); -
octolize-pickup-point-blocks-{$this->integration_name}-default_options
filter Copy link Customise this hookapply_filters( "octolize-pickup-point-blocks-{$this->integration_name}-default_options", [['label' => __('Please enter at least 3 characters', 'dhl-polska'), 'value' => '']], $point_id ); -
octolize/shipping-extensions/header-promo
filter Used by 12 plugins β Copy link Customise this hookapply_filters( 'octolize/shipping-extensions/header-promo', [] ); -
octolize/shipping-extensions/should-add-badge
filter Used by 12 plugins β Copy link Customise this hookapply_filters( 'octolize/shipping-extensions/should-add-badge', !$this->view_page_tracker->option_exists(), $this->view_page_tracker ); -
octolize/shipping-extensions/view-tracking
action Used by 12 plugins β Copy link Customise this hookdo_action( 'octolize/shipping-extensions/view-tracking', $this->tracker ); -
do_action( "woocommerce_{$this->id}_shipping_add_rate", $this, $rate ); -
woocommerce_settings_api_sanitized_fields_{$this->settings->id}
filter Copy link Customise this hookapply_filters( "woocommerce_settings_api_sanitized_fields_{$this->settings->id}", $this->settings->settings ); -
woocommerce_shipping_{$this->method->id}_instance_settings_values
filter Copy link Customise this hookapply_filters( "woocommerce_shipping_{$this->method->id}_instance_settings_values", $this->method->instance_settings, $this->method ); -
woocommerce_template_overrides_scan_paths
filter Used by 37 plugins β Copy link Customise this hookapply_filters( 'woocommerce_template_overrides_scan_paths', ['WooCommerce' => \WC()->plugin_path() . '/templates/'] ); -
do_action( 'wp_builder_before_init', $plugin ); -
do_action( 'wp_builder_before_plugin_init', $plugin ); -
apply_filters( 'wp_builder_plugin_class', $plugin_info->get_class_name() ); -
apply_filters( 'wpdesk_can_register_plugin', \true, $this->plugin_info ); -
apply_filters( 'wpdesk_can_start_tracker', \true, $this->plugin_info ); -
apply_filters( 'wpdesk_is_wp_log_capture_permitted', \true ); -
do_action( 'wpdesk_notice_dismissed_notice', $noticeName, $source ); -
apply_filters( 'wpdesk_show_plugin_activation_notice', \true ); -
do_action( 'wpdesk_subscription_deactivated', $plugin_wpdesk_name, $plugin_product_id ); -
apply_filters( 'wpdesk_tracker_data', $data ); -
do_action( 'wpdesk_tracker_initialized', $this ); -
apply_filters( 'wpdesk_tracker_instance', $this->tracker ); -
apply_filters( 'wpdesk_tracker_last_send_interval', \strtotime('-1 week') ); -
apply_filters( 'wpdesk_tracker_last_send_time', $last_send ); -
apply_filters_ref_array( 'wpdesk_tracker_notice_content', [\false, $username, $terms_url] ); -
apply_filters( 'wpdesk_tracker_notice_screens', [] ); -
apply_filters( 'wpdesk_tracker_send_override', $override ); -
apply_filters( 'wpdesk_tracker_show_testdata', \false ); -
do_action( 'wpdesk_tracker_started', $tracker, $this->plugin_info ); -
apply_filters( 'wpdesk/license/token', self::$token ); -
apply_filters( 'wpdesk/license/use_license', self::$should_use_license_server ); -
apply_filters( "wpdesk/tracker/bucket/{$bucket}", null ); -
apply_filters( "wpdesk/tracker/bucket/{$this->plugin_slug}", $bucket ); -
apply_filters_ref_array( 'wpdesk/tracker/logo_file', [$logo_file, $this->shop] ); -
apply_filters_ref_array( 'wpdesk/tracker/logo_url', [$logo_url, $this->plugin_slug] ); -
do_action( 'wpdesk/tracker/plugin_started', $this->tracker, $this->plugin_basename, $this->plugin_slug, $this->get_bucket() ); -
apply_filters( "wpdesk/tracker/sender/{$this->basename}", $default_sender ); -
apply_filters( "wpdesk/tracker/sender/{$this->get_slug()}", $default_sender ); -
apply_filters_ref_array( 'wpdesk/tracker/shop_name', [$this->shops_usage_tracking_names[$this->shop] ?? $this->default_shop_name, $this->shop] ); -
apply_filters_ref_array( 'wpdesk/tracker/usage_tracking_page', [$usage_tracking_page, $this->shop] );
Generated from DHL eCommerce (Poland) dla WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and weβll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the pluginβs own hooks.
- Code written against the pluginβs actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2β3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the pluginβs files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3β7 business days
Choose thisNot sure which fits? Describe what you need and weβll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: