woocommerce_gzd_is_order_confirmation_email Filter
Filters whether a certain email id equals the order confirmation email.
$is_confirmation
bool Whether the `$id` matches the order confirmation or not.$id
string The email id.
add_filter( "woocommerce_gzd_is_order_confirmation_email", function( $is_confirmation, $id ) { // Do something return $is_confirmation; }, 10, 2 );
woocommerce_gzd_before_set_email_cart_item_filters Action
Before place email cart item filters. This hook fires before Germanized places certain cart item filters to make sure that product-related info (e.g. delivery time, unit price etc.) is shown within email tables.
$this
\WC_GZD_Emails The email helper class.$current
\WC_Email The current email object.$sent_to_admin
bool Whether this mail is being sent to admin or not.
add_action( "woocommerce_gzd_before_set_email_cart_item_filters", function( $this, $current, $sent_to_admin ) { // Do something }, 10, 3 );
woocommerce_gzd_after_set_email_cart_item_filters Action
After place email cart item filters. This hook fires after Germanized placed certain cart item filters.
$this
\WC_GZD_Emails The email helper class.$current
\WC_Email The current email object.$sent_to_admin
bool Whether this mail is being sent to admin or not.
add_action( "woocommerce_gzd_after_set_email_cart_item_filters", function( $this, $current, $sent_to_admin ) { // Do something }, 10, 3 );
woocommerce_gzd_enable_cartflows_support Filter
$param
bool
add_filter( "woocommerce_gzd_enable_cartflows_support", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_checkout_klarna_add_checkboxes Filter
$param
bool
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_show_tax_for_cart_subscription_price Filter
$param
bool
add_filter( "woocommerce_gzd_show_tax_for_cart_subscription_price", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_show_elementor_upgrade_notice Filter
$param
bool
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_woo_discount_rules_simple_product_price_target Filter
$param
string
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
$param
string
add_filter( "woocommerce_gzd_woo_discount_rules_variable_product_price_target", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_elementor_pro_review_order_heading_container Filter
$param
string
add_filter( "woocommerce_gzd_elementor_pro_review_order_heading_container", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_elementor_pro_disable_checkout_adjustments Filter
$param
bool
add_filter( "woocommerce_gzd_elementor_pro_disable_checkout_adjustments", 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_mails
array 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.
$mails
array 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
$param
array
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
$param
array
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).
$lang
string 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.
$lang
string 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.
$emails
array 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.
$lang
string The new language code.$wc_gzd_original_lang
string 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.
$lang
string The new language code.$wc_gzd_original_lang
string The old language code.
add_action( "woocommerce_gzd_wpml_switch_language", function( $lang, $wc_gzd_original_lang ) { // Do something }, 10, 2 );
woocommerce_gzd_refresh_unit_price_on_price_change Filter
$param
string
add_filter( "woocommerce_gzd_refresh_unit_price_on_price_change", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_enable_b2b_market_unit_price_compatibility Filter
$param
bool
add_filter( "woocommerce_gzd_enable_b2b_market_unit_price_compatibility", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_legal_checkboxes_option_keys Filter
Filters legal checkbox default option keys.
$args
array Option keys.
add_filter( "woocommerce_gzd_legal_checkboxes_option_keys", function( $args ) { // Do something return $args; }, 10, 1 );
woocommerce_gzd_db_prices_by_display_prices Filter
$param_1
array$param_2
string$param_3
string
add_filter( "woocommerce_gzd_db_prices_by_display_prices", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_afghanistan_is_valid_base_country Filter
$param
bool
add_filter( "woocommerce_gzd_afghanistan_is_valid_base_country", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_shipment_admin_provider_list Filter
$param
string
add_filter( "woocommerce_gzd_shipment_admin_provider_list", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_status_{$status} Action
Admin status screen. Executes for a default status page.
woocommerce_gzd_enable_notices Filter
Filter to enable or disable admin notices in WP-Admin.
$enabled
bool Whether notices are enabled or disabled.
add_filter( "woocommerce_gzd_enable_notices", function( $enabled ) { // Do something return $enabled; }, 10, 1 );
woocommerce_gzd_admin_notes Filter
$param
string
add_filter( "woocommerce_gzd_admin_notes", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_food_deposit_settings Filter
$param
array
add_filter( "woocommerce_gzd_food_deposit_settings", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_food_settings Filter
$param
string
add_filter( "woocommerce_gzd_food_settings", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_admin_settings_styles Action
This action indicates that the admin settings styles are enqueued.
add_action( "woocommerce_gzd_admin_settings_styles", function( ) { // Do something }, 10 );
woocommerce_gzd_admin_settings_scripts Action
This action indicates that the admin settings scripts are enqueued.
add_action( "woocommerce_gzd_admin_settings_scripts", function( ) { // Do something }, 10 );
woocommerce_gzd_admin_settings_tabs Filter
Filter to register or remove certain setting tabs from the Germanized settings screen. Make sure that your class is loaded before adding it to the tabs array.
$tabs
array Array containing key => value pairs of tab name and class name.
add_filter( "woocommerce_gzd_admin_settings_tabs", function( $tabs ) { // Do something return $tabs; }, 10, 1 );
woocommerce_gzd_admin_settings_before_{$current_tab_name} Action
Before admin tab settings output. Executes right before setting output for a specific admin setting tab `$tab_name` e.g. shopmarks.
$param
string
woocommerce_gzd_admin_settings_before_{$current_tab_name}_{$current_section} Action
Before admin tab section settings output. Executes right before setting output for a specific admin setting tab `$tab_name` e.g. shopmarks. `$current_section` refers to the current section e.g. product_widgets.
$settings
array[] The settings array.
woocommerce_gzd_admin_settings_after_{$current_tab_name} Action
After admin tab settings output. Executes right after setting output for a specific admin setting tab `$tab_name` e.g. shopmarks.
$settings
array[] The settings array.
woocommerce_gzd_admin_settings_after_{$current_tab_name}_{$current_section} Action
After admin tab section settings output. Executes right after setting output for a specific admin setting tab `$tab_name` e.g. shopmarks. `$current_section` refers to the current section e.g. product_widgets.
$settings
array[] The settings array.
woocommerce_gzd_settings_section_before_checkbox_options_{$checkbox_id} Action
Before output admin checkbox settings. Fires before a checkbox admin settings screen is rendered.
$checkbox
\WC_GZD_Legal_Checkbox The checkbox instance.
woocommerce_gzd_settings_section_after_checkbox_options_{$checkbox_id} Action
After output admin checkbox settings. Fires after a checkbox admin settings screen is rendered.
$checkbox
\WC_GZD_Legal_Checkbox The checkbox instance.