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_encryption_key_constant Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_encryption_key_constant", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_encryption_enable_logging Filter
$param
string
add_filter( "woocommerce_gzd_encryption_enable_logging", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_encryption_log_context Filter
$param
string
add_filter( "woocommerce_gzd_encryption_log_context", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_disable_setup_redirect Filter
$param
bool
add_filter( "woocommerce_gzd_disable_setup_redirect", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_disable_activation_redirect Filter
$param
bool
add_filter( "woocommerce_gzd_disable_activation_redirect", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_updated Action
Plugin updated. Germanized was updated to a new version.
add_action( "woocommerce_gzd_updated", function( ) { // Do something }, 10 );
woocommerce_gzd_needs_db_update Filter
Decides whether Germanized needs a database update.
$
bool Whether a database update is needed or not.
add_filter( "woocommerce_gzd_needs_db_update", function( $ ) { // Do something return $; }, 10, 1 );
woocommerce_gzd_enable_auto_update_db Filter
$param
bool
add_filter( "woocommerce_gzd_enable_auto_update_db", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_installed Action
Plugin installed. Germanized was installed successfully.
add_action( "woocommerce_gzd_installed", function( ) { // Do something }, 10 );
woocommerce_gzd_db_update Action
Runs as soon as a database update has been triggered by the user.
add_action( "woocommerce_gzd_db_update", function( ) { // Do something }, 10 );
woocommerce_gzd_create_pages Filter
Filter to add/edit pages to be created on install.
$pages
array Array containing page data.
add_filter( "woocommerce_gzd_create_pages", function( $pages ) { // Do something return $pages; }, 10, 1 );
woocommerce_gzd_installation_default_settings Filter
Filter to adjust default options to be created on install.
$settings
array The settings to be added as wp_option on install.
add_filter( "woocommerce_gzd_installation_default_settings", function( $settings ) { // Do something return $settings; }, 10, 1 );
woocommerce_gzd_disable_on_hold_email Filter
Filter that allows re-enabling the on-hold order email which is by default replaced by the processing email used as order confirmation.
$disable
bool Whether to disable the on-hold email or not.
add_filter( "woocommerce_gzd_disable_on_hold_email", function( $disable ) { // Do something return $disable; }, 10, 1 );
woocommerce_gzd_email_setup_locale Filter
$param
bool
add_filter( "woocommerce_gzd_email_setup_locale", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_email_restore_locale Filter
$param
bool
add_filter( "woocommerce_gzd_email_restore_locale", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_maybe_remove_email_payment_instructions Action
$param
string
add_action( "woocommerce_gzd_maybe_remove_email_payment_instructions", function( $param ) { // Do something }, 10, 1 );
woocommerce_gzd_maybe_add_email_payment_instructions_after_removal Action
$param
string
add_action( "woocommerce_gzd_maybe_add_email_payment_instructions_after_removal", function( $param ) { // Do something }, 10, 1 );
wc_gzd_revocation_admin_mail Filter
Filter the revocation admin email receiver address.
$email
string The email address.
add_filter( "wc_gzd_revocation_admin_mail", function( $email ) { // Do something return $email; }, 10, 1 );
woocommerce_gzd_privacy_erase_order_personal_metadata Filter
Filter to adjust personal order data to be anonymized while removing personal data from orders.
$meta_keys
array Meta keys to be anonymized.$order
\WC_Order The order object.
add_filter( "woocommerce_gzd_privacy_erase_order_personal_metadata", function( $meta_keys, $order ) { // Do something return $meta_keys; }, 10, 2 );
woocommerce_gzd_privacy_erase_customer_personal_metadata Filter
Filter to adjust personal customer data to be anonymized while removing personal data from customers.
$meta_keys
array Meta keys to be anonymized.$customer
\WC_Customer The customer object.
add_filter( "woocommerce_gzd_privacy_erase_customer_personal_metadata", function( $meta_keys, $customer ) { // Do something return $meta_keys; }, 10, 2 );
woocommerce_gzd_privacy_export_order_personal_metadata Filter
Filter to allow exporting personal data added by Germanized to orders.
$meta_keys
array Keys as well as titles to be exported.$order
\WC_Order The order object.
add_filter( "woocommerce_gzd_privacy_export_order_personal_metadata", function( $meta_keys, $order ) { // Do something return $meta_keys; }, 10, 2 );
woocommerce_gzd_privacy_export_customer_personal_metadata Filter
Filter to allow exporting personal data added by Germanized to customers.
$meta_keys
array Keys as well as titles to be exported.$customer
\WC_Customer The customer object.
add_filter( "woocommerce_gzd_privacy_export_customer_personal_metadata", function( $meta_keys, $customer ) { // Do something return $meta_keys; }, 10, 2 );
woocommerce_gzd_product_export_default_columns Filter
Filter to extend Germanized data added to the WooCommerce product export.
$export_data
array Product export data.
add_filter( "woocommerce_gzd_product_export_default_columns", function( $export_data ) { // Do something return $export_data; }, 10, 1 );
woocommerce_gzd_product_export_column_{$column_name} Filter
Filter that allows adjusting product export data for a certain `$column_name`.
$data
string Export data.$product
\WC_Product Product object.
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_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_render_paypal_payments_smart_button Action
add_action( "woocommerce_gzd_render_paypal_payments_smart_button", function( ) { // Do something }, 10 );
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_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_enable_cartflows_support Filter
$param
bool
add_filter( "woocommerce_gzd_enable_cartflows_support", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_et_builder_legacy_checkout_needs_hook_removal Filter
$param
bool
add_filter( "woocommerce_gzd_et_builder_legacy_checkout_needs_hook_removal", 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_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_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 );