woocommerce_gzd_product_safety_attachments_html Filter
Filter to adjust product safety attachments html output.
$htmlstring The product safety attachments html.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_product_safety_attachments_html", function( $html, $product ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_product_deposit_packaging_type Filter
$paramstring
add_filter( "woocommerce_gzd_product_deposit_packaging_type", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_product_deposit_packaging_type_title Filter
$paramstring
add_filter( "woocommerce_gzd_product_deposit_packaging_type_title", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_shipping_country_skips_deposit Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_shipping_country_skips_deposit", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_product_deposit_amount Filter
$param_1string$param_2string$param_3string$param_4string$param_5string
add_filter( "woocommerce_gzd_product_deposit_amount", function( $param_1, $param_2, $param_3, $param_4, $param_5 ) {
// Do something
return $param_1;
}, 10, 5 );
woocommerce_gzd_product_deposit_packaging_amount Filter
$param_1string$param_2string$param_3string$param_4string$param_5string
add_filter( "woocommerce_gzd_product_deposit_packaging_amount", function( $param_1, $param_2, $param_3, $param_4, $param_5 ) {
// Do something
return $param_1;
}, 10, 5 );
woocommerce_gzd_deposit_amount_including_tax Filter
Filter to adjust the deposit amount including tax.
$deposit_amountstring The calculated deposit amount.$pricestring The price passed.$qtyint The quantity.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_deposit_amount_including_tax", function( $deposit_amount, $price, $qty, $product ) {
// Do something
return $deposit_amount;
}, 10, 4 );
woocommerce_gzd_deposit_amount_excluding_tax Filter
Filter to adjust the deposit amount excluding tax.
$deposit_amountstring The calculated deposit amount.$pricestring The price passed.$qtyint The quantity.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_deposit_amount_excluding_tax", function( $deposit_amount, $price, $qty, $product ) {
// Do something
return $deposit_amount;
}, 10, 4 );
woocommerce_gzd_product_deposit_amount_per_unit Filter
$param_1string$param_2string$param_3string$param_4string
add_filter( "woocommerce_gzd_product_deposit_amount_per_unit", function( $param_1, $param_2, $param_3, $param_4 ) {
// Do something
return $param_1;
}, 10, 4 );
woocommerce_gzd_product_deposit_tax_status Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_product_deposit_tax_status", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_product_has_deposit Filter
$param_1string$param_2string$param_3string
add_filter( "woocommerce_gzd_product_has_deposit", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_product_is_other_service Filter
$paramstring
add_filter( "woocommerce_gzd_product_is_other_service", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_product_differential_taxed_is_used_good Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_product_differential_taxed_is_used_good", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_recalculated_unit_price Action
Recalculated unit price. Executes whenever the unit price is recalculated.
$product\WC_GZD_Product The product object.$argsarray Arguments passed to the recalculation method.
add_action( "woocommerce_gzd_recalculated_unit_price", function( $product, $args ) {
// Do something
}, 10, 2 );
woocommerce_gzd_product_nutrient_value Filter
$param_1string$param_2string$param_3string$param_4string
add_filter( "woocommerce_gzd_product_nutrient_value", function( $param_1, $param_2, $param_3, $param_4 ) {
// Do something
return $param_1;
}, 10, 4 );
woocommerce_gzd_product_nutrient_reference Filter
$param_1string$param_2string$param_3string$param_4string
add_filter( "woocommerce_gzd_product_nutrient_reference", function( $param_1, $param_2, $param_3, $param_4 ) {
// Do something
return $param_1;
}, 10, 4 );
woocommerce_gzd_product_nutrient_value_term_id Filter
$param_1string$param_2string$param_3string
add_filter( "woocommerce_gzd_product_nutrient_value_term_id", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_product_nutrient Filter
$param_1string$param_2string$param_3string$param_4string
add_filter( "woocommerce_gzd_product_nutrient", function( $param_1, $param_2, $param_3, $param_4 ) {
// Do something
return $param_1;
}, 10, 4 );
woocommerce_gzd_product_age_verification_min_age Filter
Filter that allows adjusting a product’s age verification min age.
$min_agestring The minimum age.$product\WC_GZD_Product The product object.$param_3string
add_filter( "woocommerce_gzd_product_age_verification_min_age", function( $min_age, $product, $param_3 ) {
// Do something
return $min_age;
}, 10, 3 );
woocommerce_gzd_product_attribute_checkout_clickable Filter
$parambool
add_filter( "woocommerce_gzd_product_attribute_checkout_clickable", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_product_checkout_attributes Filter
Filter product attributes visible during checkout.
$item_dataarray The attribute data.$product\WC_Product The product object.
add_filter( "woocommerce_gzd_product_checkout_attributes", function( $item_data, $product ) {
// Do something
return $item_data;
}, 10, 2 );
woocommerce_gzd_product_virtual_vat_exception Filter
Filter that allows marking a product as virtual vat exception.
$is_exceptionbool Whether it is an exception or not.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_product_virtual_vat_exception", function( $is_exception, $product ) {
// Do something
return $is_exception;
}, 10, 2 );
woocommerce_gzd_product_sale_price_with_labels_html Filter
Filters the product sale price containing price labels.
$htmlstring The new price containing labels.$old_pricestring The old price.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_product_sale_price_with_labels_html", function( $html, $old_price, $product ) {
// Do something
return $html;
}, 10, 3 );
woocommerce_germanized_get_price_html_from_to Filter
This filter is documented in includes/abstracts/abstract-wc-gzd-product.php
$param_1string$param_2string$param_3string$param_4string
add_filter( "woocommerce_germanized_get_price_html_from_to", function( $param_1, $param_2, $param_3, $param_4 ) {
// Do something
return $param_1;
}, 10, 4 );
woocommerce_gzd_product_is_doing_price_html_action Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_product_is_doing_price_html_action", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_shopmarks_empty_price_html_check_enabled Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_shopmarks_empty_price_html_check_enabled", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_shopmarks_empty_price_html_check_checkout_enabled Filter
$parambool
add_filter( "woocommerce_gzd_shopmarks_empty_price_html_check_checkout_enabled", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_product_misses_price Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_product_misses_price", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_product_hide_shopmarks_empty_price Filter
$param_1bool$param_2string
add_filter( "woocommerce_gzd_product_hide_shopmarks_empty_price", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_product_tax_info Filter
Filter to adjust the product tax notice. This filter allows you to easily change the tax notice on a per product basis.
$tax_noticestring The tax notice.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_product_tax_info", function( $tax_notice, $product ) {
// Do something
return $tax_notice;
}, 10, 2 );
woocommerce_gzd_before_get_unit_price Action
Before retrieving unit price. Fires before the product unit price is retrieved.
$this\WC_GZD_Product The product object.$pricestring Optionally pass the price.$qtyint The product quantity.
add_action( "woocommerce_gzd_before_get_unit_price", function( $this, $price, $qty ) {
// Do something
}, 10, 3 );
woocommerce_gzd_unit_price_including_tax Filter
Filter to adjust the unit price including tax.
$unit_pricestring The calculated unit price.$pricestring The price passed.$qtyint The quantity.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_unit_price_including_tax", function( $unit_price, $price, $qty, $product ) {
// Do something
return $unit_price;
}, 10, 4 );
woocommerce_gzd_unit_price_excluding_tax Filter
Filter to adjust the unit price excluding tax.
$unit_pricestring The calculated unit price.$pricestring The price passed.$qtyint The quantity.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_unit_price_excluding_tax", function( $unit_price, $price, $qty, $product ) {
// Do something
return $unit_price;
}, 10, 4 );
woocommerce_gzd_product_is_on_unit_sale Filter
This filter is documented in includes/abstracts/abstract-wc-gzd-product.php
$param_1string$param_2string
add_filter( "woocommerce_gzd_product_is_on_unit_sale", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_hide_deposit_amount_text Filter
Filter that allows disabling the deposit text output for a certain product.
$hidebool Whether to hide the output or not.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_hide_deposit_amount_text", function( $hide, $product ) {
// Do something
return $hide;
}, 10, 2 );
woocommerce_gzd_disabled_deposit_amount_text Filter
Filter to adjust the output of a disabled product deposit text.
$outputstring The output.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_disabled_deposit_amount_text", function( $output, $product ) {
// Do something
return $output;
}, 10, 2 );
woocommerce_gzd_deposit_amount_html Filter
Filter to adjust the product’s deposit HTML output.
$htmlstring The deposit as HTML.$product\WC_GZD_Product The product object.$param_3string
add_filter( "woocommerce_gzd_deposit_amount_html", function( $html, $product, $param_3 ) {
// Do something
return $html;
}, 10, 3 );
woocommerce_gzd_hide_unit_text Filter
Filter that allows disabling the unit price output for a certain product.
$hidebool Whether to hide the output or not.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_hide_unit_text", function( $hide, $product ) {
// Do something
return $hide;
}, 10, 2 );
woocommerce_germanized_disabled_unit_text Filter
Filter to adjust the output of a disabled product unit price.
$outputstring The output.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_disabled_unit_text", function( $output, $product ) {
// Do something
return $output;
}, 10, 2 );
woocommerce_gzd_before_get_unit_price_html Action
Before retrieving unit price HTML. Fires before the HTML output for the unit price is generated.
$this\WC_GZD_Product The product object.
add_action( "woocommerce_gzd_before_get_unit_price_html", function( $this ) {
// Do something
}, 10, 1 );
woocommerce_gzd_hide_product_units_text Filter
Filter that allows disabling product units output for a specific product.
$disablebool Whether to disable or not.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_hide_product_units_text", function( $disable, $product ) {
// Do something
return $disable;
}, 10, 2 );
woocommerce_germanized_disabled_product_units_text Filter
Filter that allows adjusting the disabled product units output.
$noticestring The output.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_disabled_product_units_text", function( $notice, $product ) {
// Do something
return $notice;
}, 10, 2 );
woocommerce_gzd_product_units_html Filter
Filter to adjust the product units HTML output.
$htmlstring The HTML output.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_product_units_html", function( $html, $product ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_product_delivery_times Filter
$param_1string$param_2string$param_3string$param_4string
add_filter( "woocommerce_gzd_product_delivery_times", function( $param_1, $param_2, $param_3, $param_4 ) {
// Do something
return $param_1;
}, 10, 4 );
woocommerce_germanized_hide_delivery_time_text Filter
Filter that allows hiding the delivery time for a specific product.
$hidebool Whether to hide delivery time or not.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_hide_delivery_time_text", function( $hide, $product ) {
// Do something
return $hide;
}, 10, 2 );
woocommerce_germanized_disabled_delivery_time_text Filter
Filter to adjust disabled product delivery time output.
$outputstring The output.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_disabled_delivery_time_text", function( $output, $product ) {
// Do something
return $output;
}, 10, 2 );
woocommerce_germanized_empty_delivery_time_text Filter
Filter to adjust empty delivery time text.
$textstring The delivery time text.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_empty_delivery_time_text", function( $text, $product ) {
// Do something
return $text;
}, 10, 2 );
woocommerce_gzd_product_delivery_time_classname Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_product_delivery_time_classname", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_germanized_delivery_time_html Filter
Filter to adjust product delivery time HTML.
$htmlstring The notice.$optionstring The placeholder option.$html_orgstring The HTML before replacement.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_delivery_time_html", function( $html, $option, $html_org, $product ) {
// Do something
return $html;
}, 10, 4 );
woocommerce_germanized_delivery_time_out_of_stock_html Filter
Filter to adjust product delivery time in case of a product is out of stock.
$outputstring The new delivery time text.$product\WC_GZD_Product The product object.$htmlstring The original HTML output.
add_filter( "woocommerce_germanized_delivery_time_out_of_stock_html", function( $output, $product, $html ) {
// Do something
return $output;
}, 10, 3 );
woocommerce_germanized_delivery_time_backorder_html Filter
Filter to adjust product delivery time in case of a product is on backorder.
$outputstring The new delivery time text.$product\WC_GZD_Product The product object.$htmlstring The original HTML output.
add_filter( "woocommerce_germanized_delivery_time_backorder_html", function( $output, $product, $html ) {
// Do something
return $output;
}, 10, 3 );