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_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_germanized_taxonomy_objects_product_delivery_time Filter
Filter post types which are capable of storing delivery times.
$post_types
array 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.
$args
array 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_types
array 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.
$args
array 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_price_label Filter
Filter post types which are capable of storing price labels.
$post_types
array 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.
$args
array 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
$param
string
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_types
array 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.
$args
array 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
$param
bool
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_types
array 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.
$args
array 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_types
array 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.
$args
array Arguments passed to `register_taxonomy`.
add_filter( "woocommerce_germanized_taxonomy_args_product_allergen", function( $args ) { // Do something return $args; }, 10, 1 );
woocommerce_gzd_legal_checkbox_core_ids Filter
Filter that returns the core checkbox ids.
$checkbox_ids
array Array containg checkbox ids.
add_filter( "woocommerce_gzd_legal_checkbox_core_ids", function( $checkbox_ids ) { // Do something return $checkbox_ids; }, 10, 1 );
woocommerce_gzd_direct_debit_ajax_url Filter
Filter to adjust the direct debit mandate link.
$link
string The link.
add_filter( "woocommerce_gzd_direct_debit_ajax_url", function( $link ) { // Do something return $link; }, 10, 1 );
woocommerce_gzd_register_legal_core_checkboxes Action
After core checkbox registration. Fires after Germanized has registered it’s core legal checkboxes. Might be used to register additional checkboxes. “`php function ex_after_register_checkboxes( $manager ) { wc_gzd_register_legal_checkbox( array() ); } add_action( ‘woocommerce_gzd_register_legal_core_checkboxes’, ‘ex_after_register_checkboxes’, 10, 1 ); “`
$this
\WC_GZD_Legal_Checkbox_Manager The legal checkbox manager instance.
add_action( "woocommerce_gzd_register_legal_core_checkboxes", function( $this ) { // Do something }, 10, 1 );
woocommerce_gzd_checkbox_show_conditionally_{$location}_args Filter
Filter to adjust conditional arguments passed to checkboxes based on certain locations. The dynamic portion of the hook name, `$location` refers to the checkbox location, e.g. checkout or pay_for_order.
$checkbox_args
array Arguments to be passed.$checkbox
\WC_GZD_Legal_Checkbox Checkbox object.$checkbox_id
string The checkbox id.$instance
\WC_GZD_Legal_Checkbox_Manager The checkbox manager instance.
woocommerce_gzd_register_legal_checkboxes Action
Before legal checkbox registration. Register legal checkboxes and populate settings.
$this
\WC_GZD_Legal_Checkbox_Manager The checkboxes manager instance.
add_action( "woocommerce_gzd_register_legal_checkboxes", function( $this ) { // Do something }, 10, 1 );
woocommerce_gzd_registered_legal_checkboxes Action
After legal checkbox registration. Fires after the registration is completed. Might be used to alter settings and registered checkboxes.
$this
\WC_GZD_Legal_Checkbox_Manager The checkboxes manager instance.
add_action( "woocommerce_gzd_registered_legal_checkboxes", function( $this ) { // Do something }, 10, 1 );
woocommerce_gzd_legal_checkbox_locations Filter
Filter to add/remove legal checkbox locations.
$locations
array Key => value array containing location id and title.
add_filter( "woocommerce_gzd_legal_checkbox_locations", function( $locations ) { // Do something return $locations; }, 10, 1 );
woocommerce_gzd_register_legal_checkbox_args Filter
Filter legal checkbox arguments before registering.
$args
array Arguments passed to register checkbox.$id
int Checkbox id.
add_filter( "woocommerce_gzd_register_legal_checkbox_args", function( $args, $id ) { // Do something return $args; }, 10, 2 );
woocommerce_gzd_legal_checkbox_classname Filter
Filter to adjust default checkbox classname. Defaults to `WC_GZD_Legal_Checkbox`.
$classname
string The name of the checkbox classname.
add_filter( "woocommerce_gzd_legal_checkbox_classname", function( $classname ) { // Do something return $classname; }, 10, 1 );
woocommerce_gzd_checkbox_is_logged Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_checkbox_is_logged", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_checkbox_value Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_checkbox_value", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_checkbox_is_checked Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_checkbox_is_checked", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_loggable_checkboxes Filter
$param_1
array$param_2
string
add_filter( "woocommerce_gzd_loggable_checkboxes", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_editable_checkboxes Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_editable_checkboxes", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_run_legal_checkboxes Action
Before render checkboxes. This hook is used to alter checkboxes before rendering and to dynamically choose whether to display or hide them.
$this
\WC_GZD_Legal_Checkbox_Manager The checkboxes manager instance.
add_action( "woocommerce_gzd_run_legal_checkboxes", function( $this ) { // Do something }, 10, 1 );
woocommerce_gzd_run_legal_checkboxes_{$location} Action
Before render checkboxes location. This hook is used to alter checkboxes before rendering a specific location `$location` e.g. checkout and to dynamically choose whether to display or hide them.
$this
\WC_GZD_Legal_Checkbox_Manager The checkboxes manager instance.
woocommerce_gzd_order_min_age Filter
Filters the minimum age required for a certain order.
$min_age
int|bool The minimum age for an order. False if not available.$order_id
int The order id
add_filter( "woocommerce_gzd_order_min_age", function( $min_age, $order_id ) { // Do something return $min_age; }, 10, 2 );
woocommerce_gzd_shortcode_product_unit_price_html Filter
Filter shortcode product unit price output.
$html
string The output.$atts
array The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_unit_price_html", function( $html, $atts ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_shortcode_product_units_html Filter
Filter shortcode product unit output.
$html
string The output.$atts
array The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_units_html", function( $html, $atts ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_shortcode_product_delivery_time_html Filter
Filter shortcode product delivery time output.
$html
string The output.$atts
array The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_delivery_time_html", function( $html, $atts ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_shortcode_product_tax_notice_html Filter
Filter shortcode product tax notice output.
$html
string The output.$atts
array The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_tax_notice_html", function( $html, $atts ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_shortcode_product_shipping_notice_html Filter
Filter shortcode product shipping notice output.
$html
string The output.$atts
array The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_shipping_notice_html", function( $html, $atts ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_shortcode_product_defect_description_html Filter
Filter shortcode product defect description output.
$html
string The output.$atts
array The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_defect_description_html", function( $html, $atts ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_shortcode_product_deposit_html Filter
Filter shortcode product deposit output.
$html
string The output.$atts
array The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_deposit_html", function( $html, $atts ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_shortcode_product_food_html Filter
Filter shortcode product food output.
$html
string The output.$atts
array The shortcode arguments.$param_3
string
add_filter( "woocommerce_gzd_shortcode_product_food_html", function( $html, $atts, $param_3 ) { // Do something return $html; }, 10, 3 );
woocommerce_gzd_shortcode_product_deposit_packaging_type_html Filter
Filter shortcode product deposit packaging type output.
$html
string The output.$atts
array The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_deposit_packaging_type_html", function( $html, $atts ) { // Do something return $html; }, 10, 2 );
woocommerce_gzd_revocation_show_privacy_notice_checkbox Filter
$param
bool
add_filter( "woocommerce_gzd_revocation_show_privacy_notice_checkbox", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_revocation_privacy_notice_label Filter
Filter to adjust the privacy field label for revocation form.
$html
string The label.
add_filter( "woocommerce_gzd_revocation_privacy_notice_label", function( $html ) { // Do something return $html; }, 10, 1 );
woocommerce_gzd_revocation_fields Filter
$param
string
add_filter( "woocommerce_gzd_revocation_fields", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_check_virtual_vat_exempt Filter
$param_1
bool$param_2
string$param_3
string
add_filter( "woocommerce_gzd_check_virtual_vat_exempt", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_force_tax_location_vat_base_rates Filter
Filter to adjust whether virtual VAT is applicable or not. If set to true, Germanized will return tax rates based on the user country.
$virtual_vat_applicable
bool Whether virtual VAT rates are applicable or not.$tax_class
string The tax class.$location
array The tax location data.
add_filter( "woocommerce_gzd_force_tax_location_vat_base_rates", function( $virtual_vat_applicable, $tax_class, $location ) { // Do something return $virtual_vat_applicable; }, 10, 3 );
woocommerce_gzd_get_checkout_value Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_get_checkout_value", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_checkout_checkbox_is_checked Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_checkout_checkbox_is_checked", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_photovoltaic_systems_remove_zero_tax_class_for_non_exemptions Filter
$param
string
add_filter( "woocommerce_gzd_photovoltaic_systems_remove_zero_tax_class_for_non_exemptions", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_default_photovoltaic_systems_non_exemption_tax_class Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_default_photovoltaic_systems_non_exemption_tax_class", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );