woocommerce_gzd_product_is_other_service Filter
$param
string
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_1
bool$param_2
string
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.$args
array 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_1
string$param_2
string$param_3
string$param_4
string
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_1
string$param_2
string$param_3
string$param_4
string
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_1
string$param_2
string$param_3
string
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_1
string$param_2
string$param_3
string$param_4
string
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_age
string The minimum age.$product
\WC_GZD_Product The product object.$param_3
string
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
$param
bool
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_data
array 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_exception
bool 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.
$html
string The new price containing labels.$old_price
string 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_gzd_product_is_doing_price_html_action Filter
$param_1
string$param_2
string
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_1
bool$param_2
string
add_filter( "woocommerce_gzd_shopmarks_empty_price_html_check_enabled", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_product_misses_price Filter
$param_1
string$param_2
string
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_1
bool$param_2
string
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_notice
string 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.$price
string Optionally pass the price.$qty
int 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_price
string The calculated unit price.$price
string The price passed.$qty
int 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_price
string The calculated unit price.$price
string The price passed.$qty
int 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_hide_deposit_amount_text Filter
Filter that allows disabling the deposit text output for a certain product.
$hide
bool 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.
$output
string 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.
$html
string The deposit as HTML.$product
\WC_GZD_Product The product object.$param_3
string
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.
$hide
bool 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.
$output
string 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.
$disable
bool 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.
$notice
string 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.
$html
string 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_1
string$param_2
string$param_3
string$param_4
string
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.
$hide
bool 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.
$output
string 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.
$text
string 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_germanized_delivery_time_html Filter
Filter to adjust product delivery time HTML.
$html
string The notice.$option
string The placeholder option.$html_org
string 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.
$output
string The new delivery time text.$product
\WC_GZD_Product The product object.$html
string 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.
$output
string The new delivery time text.$product
\WC_GZD_Product The product object.$html
string The original HTML output.
add_filter( "woocommerce_germanized_delivery_time_backorder_html", function( $output, $product, $html ) { // Do something return $output; }, 10, 3 );
woocommerce_gzd_product_delivery_time_html Filter
Filter to adjust product delivery time html output.
$html
string The delivery time html.$product
\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_product_delivery_time_html", function( $html, $product ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_defect_description Filter
$param
string
add_filter( "woocommerce_gzd_defect_description", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_germanized_hide_shipping_costs_text Filter
Filter to optionally disable shipping costs info for a certain product.
$disable
bool Whether to disable the shipping costs notice or not.$product
\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_hide_shipping_costs_text", function( $disable, $product ) { // Do something return $disable; }, 10, 2 );
woocommerce_germanized_disabled_shipping_text Filter
Filter to adjust a product’s disabled shipping costs notice.
$output
string The output.$product
\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_disabled_shipping_text", function( $output, $product ) { // Do something return $output; }, 10, 2 );
woocommerce_gzd_get_term Action
Before retrieving a certain term. Executes before retrieving a certain term (e.g. a delivery time).
$key
string The identifier e.g. term slug.$by
string Indicates how to identify the term e.g. by slug.$taxonomy
string The taxonomy linked to the term e.g. delivery_time.
add_action( "woocommerce_gzd_get_term", function( $key, $by, $taxonomy ) { // Do something }, 10, 3 );
woocommerce_gzd_after_get_term Action
After retrieving a certain term. Executes after retrieving a certain term (e.g. a delivery time).
$key
string The identifier e.g. term slug.$by
string Indicates how to identify the term e.g. by slug.$taxonomy
string The taxonomy linked to the term e.g. delivery_time.
add_action( "woocommerce_gzd_after_get_term", function( $key, $by, $taxonomy ) { // Do something }, 10, 3 );
woocommerce_gzd_voucher_order_allow_fee_reduction Filter
$param_1
bool$param_2
string
add_filter( "woocommerce_gzd_voucher_order_allow_fee_reduction", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_voucher_includes_shipping_costs Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_voucher_includes_shipping_costs", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_voucher_cart_allow_fee_reduction Filter
$param_1
bool$param_2
string
add_filter( "woocommerce_gzd_voucher_cart_allow_fee_reduction", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_voucher_name Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_voucher_name", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_voucher Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_voucher", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_order_coupon_tax_display_mode Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_order_coupon_tax_display_mode", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_coupon_is_voucher Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_coupon_is_voucher", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_order_item_coupon_is_voucher Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_order_item_coupon_is_voucher", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_double_opt_resent_activation_redirect Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_double_opt_resent_activation_redirect", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );