woocommerce_gzd_product_import_column_{$column_name} Filter
Filter that allows adjusting product import data for a certain `$column_name`.
$product\WC_Product The product object$valuemixed The import value.
woocommerce_gzd_check_virtual_vat_exempt Filter
$param_1bool$param_2string$param_3string
add_filter( "woocommerce_gzd_check_virtual_vat_exempt", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_force_tax_location_vat_base_rates Filter
Filter to adjust whether virtual VAT is applicable or not. If set to true, Germanized will return tax rates based on the user country.
$virtual_vat_applicablebool Whether virtual VAT rates are applicable or not.$tax_classstring The tax class.$locationarray The tax location data.
add_filter( "woocommerce_gzd_force_tax_location_vat_base_rates", function( $virtual_vat_applicable, $tax_class, $location ) {
// Do something
return $virtual_vat_applicable;
}, 10, 3 );
woocommerce_gzd_order_item_additional_cost_is_net Filter
$param_1string$param_2string$param_3string
add_filter( "woocommerce_gzd_order_item_additional_cost_is_net", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_skip_order_item_split_tax_calculation Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_skip_order_item_split_tax_calculation", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_force_fee_tax_calculation Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_force_fee_tax_calculation", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_order_main_service_tax_class Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_order_main_service_tax_class", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_attempt_order_cancellation_url Filter
Filter the order cancellation URL replacement when customer order cancellation was disabled in the Germanized settings. Defaults to the order-received page.
$urlstring The return url.
add_filter( "woocommerce_gzd_attempt_order_cancellation_url", function( $url ) {
// Do something
return $url;
}, 10, 1 );
woocommerce_gzd_before_add_order_item_meta Action
Before adding order item meta. Fires before Germanized added order item meta.
$item\WC_Order_Item The order item.$order\WC_Order The order.$gzd_item\WC_GZD_Order_Item The order item object.
add_action( "woocommerce_gzd_before_add_order_item_meta", function( $item, $order, $gzd_item ) {
// Do something
}, 10, 3 );
woocommerce_gzd_add_order_item_meta Action
Add order item meta. Fires when Germanized adds order item meta.
$item\WC_Order_Item The order item.$order\WC_Order The order.$gzd_product\WC_GZD_Product The product object.$gzd_item\WC_GZD_Order_Item The order item object.
add_action( "woocommerce_gzd_add_order_item_meta", function( $item, $order, $gzd_product, $gzd_item ) {
// Do something
}, 10, 4 );
woocommerce_gzd_after_add_order_item_meta Action
After adding order item meta. Fires after Germanized added order item meta.
$item\WC_Order_Item The order item.$order\WC_Order The order.$gzd_item\WC_GZD_Order_Item The order item object.
add_action( "woocommerce_gzd_after_add_order_item_meta", function( $item, $order, $gzd_item ) {
// Do something
}, 10, 3 );
woocommerce_gzd_enable_b2b_market_unit_price_compatibility Filter
$parambool
add_filter( "woocommerce_gzd_enable_b2b_market_unit_price_compatibility", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_google_for_woocommerce_inject_unit_price Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_google_for_woocommerce_inject_unit_price", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_elementor_pro_review_order_heading_container Filter
$paramstring
add_filter( "woocommerce_gzd_elementor_pro_review_order_heading_container", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_elementor_pro_checkout_has_built_in_checkout_widget Filter
Move checkboxes right before order summary in case the current checkout is built with Elementor Pro. Do not move the checkboxes in case of Shopengine Elementor addon is active as it does not execute the woocommerce_checkout_order_review hook.
$paramstring
add_filter( "woocommerce_gzd_elementor_pro_checkout_has_built_in_checkout_widget", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_elementor_pro_checkout_move_checkboxes Filter
$paramstring
add_filter( "woocommerce_gzd_elementor_pro_checkout_move_checkboxes", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_elementor_pro_disable_checkout_adjustments Filter
$parambool
add_filter( "woocommerce_gzd_elementor_pro_disable_checkout_adjustments", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_product_addons_embed_price_label Filter
$param_1bool$param_2string$param_3string$param_4string
add_filter( "woocommerce_gzd_product_addons_embed_price_label", function( $param_1, $param_2, $param_3, $param_4 ) {
// Do something
return $param_1;
}, 10, 4 );
woocommerce_gzd_enable_cartflows_support Filter
$parambool
add_filter( "woocommerce_gzd_enable_cartflows_support", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_checkout_klarna_add_checkboxes Filter
$parambool
add_filter( "woocommerce_gzd_checkout_klarna_add_checkboxes", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_render_paypal_payments_smart_button Action
add_action( "woocommerce_gzd_render_paypal_payments_smart_button", function( ) {
// Do something
}, 10 );
woocommerce_gzd_woo_discount_rules_simple_product_price_target Filter
$paramstring
add_filter( "woocommerce_gzd_woo_discount_rules_simple_product_price_target", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_woo_discount_rules_variable_product_price_target Filter
$paramstring
add_filter( "woocommerce_gzd_woo_discount_rules_variable_product_price_target", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_show_elementor_upgrade_notice Filter
$parambool
add_filter( "woocommerce_gzd_show_elementor_upgrade_notice", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_elementor_widget_$postfix_controls Action
Elementor Widget Controls. Fires after Germanized has added Elementor widget controls.
$this\WC_GZD_Elementor_Widget The actual widget.$class_name\Elementor\Controls_Manager The controls manager class.
woocommerce_gzd_elementor_widget_$postfix_render Action
Render an Elementor widget. Render a certain Germanized Elementor widget in the frontend.
$product\WC_Product The product object.$this\WC_GZD_Elementor_Widget The widget instance.
woocommerce_gzd_override_subscriptions_signup_button_text Filter
$parambool
add_filter( "woocommerce_gzd_override_subscriptions_signup_button_text", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_show_tax_for_cart_subscription_price Filter
$parambool
add_filter( "woocommerce_gzd_show_tax_for_cart_subscription_price", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_polylang_compatibility_loaded Action
Hyyan WooCommerce Polylang Integration compatibility loaded. Fires after Germanized loaded it’s Woo PolyLang compatibility script.
$this\WC_GZD_Compatibility_Woo_Poly_Integration The compatibility instance.
add_action( "woocommerce_gzd_polylang_compatibility_loaded", function( $this ) {
// Do something
}, 10, 1 );
woocommerce_gzd_polylang_order_emails Filter
Filter to add additional order emails to PolyLang.
$order_mailsarray Array containing additional email ids.$integration\WC_GZD_Compatibility_Woo_Poly_Integration The integration instance.
add_filter( "woocommerce_gzd_polylang_order_emails", function( $order_mails, $integration ) {
// Do something
return $order_mails;
}, 10, 2 );
woocommerce_gzd_polylang_emails Filter
Filter to get emails relevant for PolyLang.
$mailsarray Array containing additional email ids.$integration\WC_GZD_Compatibility_Woo_Poly_Integration The integration instance.
add_filter( "woocommerce_gzd_polylang_emails", function( $mails, $integration ) {
// Do something
return $mails;
}, 10, 2 );
woocommerce_gzd_wpml_compatibility_loaded Action
This action fires after Germanized has loaded it’s WPML compatibility script.
$compatibility\WC_GZD_Compatibility_WPML
add_action( "woocommerce_gzd_wpml_compatibility_loaded", function( $compatibility ) {
// Do something
}, 10, 1 );
woocommerce_gzd_wpml_admin_order_items_translatable_actions Filter
$paramarray
add_filter( "woocommerce_gzd_wpml_admin_order_items_translatable_actions", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_wpml_admin_relevant_string_options Filter
$paramarray
add_filter( "woocommerce_gzd_wpml_admin_relevant_string_options", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_wpml_email_lang Filter
This filter allows adjusting the language determined for the current email instance. The WPML compatibility will then try to switch to the language (if not empty).
$langstring Language e.g. en$email\WC_Email The email instance.
add_filter( "woocommerce_gzd_wpml_email_lang", function( $lang, $email ) {
// Do something
return $lang;
}, 10, 2 );
woocommerce_gzd_wpml_switched_email_language Action
This action fires as soon as the WPML email language has been switched by the Germanized compatibility script.
$langstring Language e.g. en$email\WC_Email The email instance.
add_action( "woocommerce_gzd_wpml_switched_email_language", function( $lang, $email ) {
// Do something
}, 10, 2 );
woocommerce_gzd_wpml_email_ids Filter
Filter to register custom emails for which to enable WPML email string translation compatibility.
$emailsarray Class name as key and email id as value.
add_filter( "woocommerce_gzd_wpml_email_ids", function( $emails ) {
// Do something
return $emails;
}, 10, 1 );
woocommerce_gzd_reload_locale Action
Reload locale. Fires after Germanized plugin textdomain was reloaded programmatically.
add_action( "woocommerce_gzd_reload_locale", function( ) {
// Do something
}, 10 );
woocommerce_gzd_wpml_switched_language Action
WPML language switched. Fires whenever Germanized has explicitly changed the language.
$langstring The new language code.$wc_gzd_original_langstring The old language code.
add_action( "woocommerce_gzd_wpml_switched_language", function( $lang, $wc_gzd_original_lang ) {
// Do something
}, 10, 2 );
woocommerce_gzd_wpml_switch_language Action
WPML language switch. Fires whenever Germanized was asked to programatically change the language.
$langstring The new language code.$wc_gzd_original_langstring The old language code.
add_action( "woocommerce_gzd_wpml_switch_language", function( $lang, $wc_gzd_original_lang ) {
// Do something
}, 10, 2 );
woocommerce_gzd_et_builder_legacy_checkout_needs_hook_removal Filter
$parambool
add_filter( "woocommerce_gzd_et_builder_legacy_checkout_needs_hook_removal", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_refresh_unit_price_on_price_change Filter
$paramstring
add_filter( "woocommerce_gzd_refresh_unit_price_on_price_change", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_maybe_flush_cache Action
Flush cache action. Trigger the flush cache action to indicate that Germanized wants to flush the cache.
$typestring Cache type e.g. db.$cache_argsarray Additional arguments.
add_action( "woocommerce_gzd_maybe_flush_cache", function( $type, $cache_args ) {
// Do something
}, 10, 2 );
woocommerce_gzd_order_item_product_deposit_packaging_type_title Filter
Filter to adjust the deposit packaging type title for an order item.
$titlestring The title.$order_item\WC_GZD_Order_Item_Product The order item product object.
add_filter( "woocommerce_gzd_order_item_product_deposit_packaging_type_title", function( $title, $order_item ) {
// Do something
return $title;
}, 10, 2 );
woocommerce_gzd_order_item_product_units_html Filter
Filter to adjust the product units HTML output.
$htmlstring The HTML output.$order_item\WC_GZD_Order_Item_Product The order item product object.
add_filter( "woocommerce_gzd_order_item_product_units_html", function( $html, $order_item ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_order_item_quantity Filter
Determines the quantity used to calculate the item total used for unit price (re-) calculation for an order item.
$quantityfloat The item quantity.$gzd_order_item\WC_GZD_Order_Item_Product Germanized order item instance.$order_item\WC_Order_Item_Product The order item instance.
add_filter( "woocommerce_gzd_order_item_quantity", function( $quantity, $gzd_order_item, $order_item ) {
// Do something
return $quantity;
}, 10, 3 );
woocommerce_gzd_recalculate_order_item_unit_price Action
Order item unit price recalculation This action fires before recalculating unit price for a certain order item (e.g. when taxes are recalculated).
$order_item\WC_Order_Item_Product$gzd_order_item\WC_GZD_Order_Item_Product
add_action( "woocommerce_gzd_recalculate_order_item_unit_price", function( $order_item, $gzd_order_item ) {
// Do something
}, 10, 2 );
woocommerce_gzd_get_nutrient_object Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_get_nutrient_object", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_nutrient_reference_values Filter
$paramarray
add_filter( "woocommerce_gzd_nutrient_reference_values", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_nutri_score_values Filter
$paramarray
add_filter( "woocommerce_gzd_nutri_score_values", function( $param ) {
// Do something
return $param;
}, 10, 1 );