woocommerce_gzd_order_confirmation_email_plain_text Filter
Filters the plain order confirmation email text.
$textstring The plain text.
add_filter( "woocommerce_gzd_order_confirmation_email_plain_text", function( $text ) {
// Do something
return $text;
}, 10, 1 );
woocommerce_gzd_order_confirmation_email_default_text Filter
Filter the fallback order confirmation email text.
$textstring The default text.
add_filter( "woocommerce_gzd_order_confirmation_email_default_text", function( $text ) {
// Do something
return $text;
}, 10, 1 );
woocommerce_gzd_order_confirmation_email_text Filter
Filter the order confirmation introduction text.
$plainstring The text.$order\WC_Order The order object.
add_filter( "woocommerce_gzd_order_confirmation_email_text", function( $plain, $order ) {
// Do something
return $plain;
}, 10, 2 );
woocommerce_gzd_send_order_confirmation_for_manual_order Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_send_order_confirmation_for_manual_order", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_send_order_confirmation_for_rest_api_orders Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_send_order_confirmation_for_rest_api_orders", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_disable_gateways_paid_order_email Filter
Filters disabled gateway for the paid for order notification. By adjusting the filter you may deactivate the paid for order notification for certain gateways.
$gatewaysarray Array of gateway ids.
add_filter( "woocommerce_gzd_disable_gateways_paid_order_email", function( $gateways ) {
// Do something
return $gateways;
}, 10, 1 );
woocommerce_gzd_disable_paid_for_order_notification Filter
Filter to adjust whether to disable the paid for order notification based on order data.
$disablebool Whether to disable notification or not.$order_idint The order id.
add_filter( "woocommerce_gzd_disable_paid_for_order_notification", function( $disable, $order_id ) {
// Do something
return $disable;
}, 10, 2 );
woocommerce_gzd_checkout_order_before_confirmation Action
Triggers after WooCommerce has processed the order via checkout and payment gateway has been processed. This hook may be used to find a uniform way to process orders after the payment method has been triggered.
$order\WC_Order The order object.
add_action( "woocommerce_gzd_checkout_order_before_confirmation", function( $order ) {
// Do something
}, 10, 1 );
woocommerce_germanized_send_instant_order_confirmation Filter
$param_1string$param_2string
add_filter( "woocommerce_germanized_send_instant_order_confirmation", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_order_confirmation Action
Trigger the order confirmation email. This action triggers the order confirmation email notification.
$order\WC_Order The order object.
add_action( "woocommerce_gzd_order_confirmation", function( $order ) {
// Do something
}, 10, 1 );
woocommerce_gzd_clear_cart_after_order_confirmation Filter
Decide whether to clear the cart after sending the order confirmation email or not. By default the cart is not cleared to prevent compatibility issues with payment providers like Stripe or Klarna which depend on cart data.
$clearbool Whether to clear cart or not.$order_id\WC_Order The order.
add_filter( "woocommerce_gzd_clear_cart_after_order_confirmation", function( $clear, $order_id ) {
// Do something
return $clear;
}, 10, 2 );
woocommerce_germanized_before_order_confirmation Action
Before order confirmation emails. Fires before the order confirmation emails are being triggered (admin and user).
$order_idint The order id.
add_action( "woocommerce_germanized_before_order_confirmation", function( $order_id ) {
// Do something
}, 10, 1 );
woocommerce_germanized_order_email_customer_confirmation_sent Filter
$param_1bool$param_2string
add_filter( "woocommerce_germanized_order_email_customer_confirmation_sent", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_germanized_order_email_admin_confirmation_sent Filter
$param_1bool$param_2string
add_filter( "woocommerce_germanized_order_email_admin_confirmation_sent", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_germanized_order_confirmation_sent Action
After order confirmation emails. Fires after the order confirmation emails are being triggered (admin and user).
$order_idint The order id.
add_action( "woocommerce_germanized_order_confirmation_sent", function( $order_id ) {
// Do something
}, 10, 1 );
woocommerce_gzd_product_is_revocation_exception Filter
$param_1bool$param_2string$param_3string$param_4string
add_filter( "woocommerce_gzd_product_is_revocation_exception", function( $param_1, $param_2, $param_3, $param_4 ) {
// Do something
return $param_1;
}, 10, 4 );
woocommerce_gzd_show_differential_taxation_in_emails Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_show_differential_taxation_in_emails", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_differential_taxation_notice_text_email Filter
Filters the differential taxation notice text for emails.
$htmlstring The notice output.
add_filter( "woocommerce_gzd_differential_taxation_notice_text_email", function( $html ) {
// Do something
return $html;
}, 10, 1 );
woocommerce_gzd_order_confirmation_digital_notice Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_order_confirmation_digital_notice", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_order_confirmation_service_notice Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_order_confirmation_service_notice", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_is_order_confirmation_email Filter
Filters whether a certain email id equals the order confirmation email.
$is_confirmationbool Whether the `$id` matches the order confirmation or not.$idstring 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_adminbool 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_adminbool 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_product_export_default_columns Filter
Filter to extend Germanized data added to the WooCommerce product export.
$export_dataarray 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`.
$datastring Export data.$product\WC_Product Product object.
woocommerce_gzd_privacy_erase_order_personal_metadata Filter
Filter to adjust personal order data to be anonymized while removing personal data from orders.
$meta_keysarray 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_keysarray 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_keysarray 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_keysarray 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_germanized_taxonomy_objects_product_delivery_time Filter
Filter post types which are capable of storing delivery times.
$post_typesarray The post types to support `delivery_time` taxonomy.
add_filter( "woocommerce_germanized_taxonomy_objects_product_delivery_time", function( $post_types ) {
// Do something
return $post_types;
}, 10, 1 );
woocommerce_germanized_taxonomy_args_product_delivery_time Filter
Filter to adjust arguments passed to register the `delivery_time` taxonomy.
$argsarray Arguments passed to `register_taxonomy`.
add_filter( "woocommerce_germanized_taxonomy_args_product_delivery_time", function( $args ) {
// Do something
return $args;
}, 10, 1 );
woocommerce_germanized_taxonomy_objects_product_unit Filter
Filter post types which are capable of storing units.
$post_typesarray The post types to support `product_unit` taxonomy.
add_filter( "woocommerce_germanized_taxonomy_objects_product_unit", function( $post_types ) {
// Do something
return $post_types;
}, 10, 1 );
woocommerce_germanized_taxonomy_args_product_unit Filter
Filter to adjust arguments passed to register the `product_unit` taxonomy.
$argsarray Arguments passed to `register_taxonomy`.
add_filter( "woocommerce_germanized_taxonomy_args_product_unit", function( $args ) {
// Do something
return $args;
}, 10, 1 );
woocommerce_germanized_taxonomy_objects_product_manufacturer Filter
Filter post types which are capable of storing manufacturers.
$post_typesarray The post types to support `manufacturer` taxonomy.
add_filter( "woocommerce_germanized_taxonomy_objects_product_manufacturer", function( $post_types ) {
// Do something
return $post_types;
}, 10, 1 );
woocommerce_germanized_taxonomy_args_product_manufacturer Filter
Filter to adjust arguments passed to register the `manufacturer` taxonomy.
$argsarray Arguments passed to `register_taxonomy`.
add_filter( "woocommerce_germanized_taxonomy_args_product_manufacturer", function( $args ) {
// Do something
return $args;
}, 10, 1 );
woocommerce_germanized_taxonomy_objects_product_price_label Filter
Filter post types which are capable of storing price labels.
$post_typesarray The post types to support `price_label` taxonomy.
add_filter( "woocommerce_germanized_taxonomy_objects_product_price_label", function( $post_types ) {
// Do something
return $post_types;
}, 10, 1 );
woocommerce_germanized_taxonomy_args_product_price_label Filter
Filter to adjust arguments passed to register the `price_label` taxonomy.
$argsarray Arguments passed to `register_taxonomy`.
add_filter( "woocommerce_germanized_taxonomy_args_product_price_label", function( $args ) {
// Do something
return $args;
}, 10, 1 );
woocommerce_gzd_register_food_taxonomies Filter
$paramstring
add_filter( "woocommerce_gzd_register_food_taxonomies", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_germanized_taxonomy_objects_product_deposit_type Filter
Filter post types which are capable of storing deposit types.
$post_typesarray The post types to support `product_deposit_type` taxonomy.
add_filter( "woocommerce_germanized_taxonomy_objects_product_deposit_type", function( $post_types ) {
// Do something
return $post_types;
}, 10, 1 );
woocommerce_germanized_taxonomy_args_product_deposit_type Filter
Filter to adjust arguments passed to register the `product_deposit_type` taxonomy.
$argsarray Arguments passed to `register_taxonomy`.
add_filter( "woocommerce_germanized_taxonomy_args_product_deposit_type", function( $args ) {
// Do something
return $args;
}, 10, 1 );
woocommerce_gzd_show_food_ui Filter
$parambool
add_filter( "woocommerce_gzd_show_food_ui", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_germanized_taxonomy_objects_product_nutrient Filter
Filter post types which are capable of storing deposit types.
$post_typesarray The post types to support `product_nutrient` taxonomy.
add_filter( "woocommerce_germanized_taxonomy_objects_product_nutrient", function( $post_types ) {
// Do something
return $post_types;
}, 10, 1 );
woocommerce_germanized_taxonomy_args_product_nutrient Filter
Filter to adjust arguments passed to register the `product_nutrient` taxonomy.
$argsarray Arguments passed to `register_taxonomy`.
add_filter( "woocommerce_germanized_taxonomy_args_product_nutrient", function( $args ) {
// Do something
return $args;
}, 10, 1 );
woocommerce_germanized_taxonomy_objects_product_allergen Filter
Filter post types which are capable of storing allergenic.
$post_typesarray The post types to support `product_allergen` taxonomy.
add_filter( "woocommerce_germanized_taxonomy_objects_product_allergen", function( $post_types ) {
// Do something
return $post_types;
}, 10, 1 );
woocommerce_germanized_taxonomy_args_product_allergen Filter
Filter to adjust arguments passed to register the `product_allergen` taxonomy.
$argsarray Arguments passed to `register_taxonomy`.
add_filter( "woocommerce_germanized_taxonomy_args_product_allergen", function( $args ) {
// Do something
return $args;
}, 10, 1 );
woocommerce_gzd_product_import_formatting_callbacks Filter
Filter that allows adjusting product import formatting callbacks for Germanized product data.
$callbacksarray Key => value array containing meta keys and callback functions.
add_filter( "woocommerce_gzd_product_import_formatting_callbacks", function( $callbacks ) {
// Do something
return $callbacks;
}, 10, 1 );