woocommerce_gzd_product_differential_taxed_tax_status Filter
Filter the tax status of a differential taxed product.
$tax_statusstring The tax status, e.g. none or shipping.$product\WC_Product The product instance.
add_filter( "woocommerce_gzd_product_differential_taxed_tax_status", function( $tax_status, $product ) {
// Do something
return $tax_status;
}, 10, 2 );
woocommerce_gzd_edit_product_variation_food_wrapper Action
$param_1string$param_2string$param_3string
add_action( "woocommerce_gzd_edit_product_variation_food_wrapper", function( $param_1, $param_2, $param_3 ) {
// Do something
}, 10, 3 );
woocommerce_gzd_enable_notices Filter
Filter to enable or disable admin notices in WP-Admin.
$enabledbool Whether notices are enabled or disabled.
add_filter( "woocommerce_gzd_enable_notices", function( $enabled ) {
// Do something
return $enabled;
}, 10, 1 );
woocommerce_gzd_admin_notes Filter
$paramstring
add_filter( "woocommerce_gzd_admin_notes", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_admin_new_legal_checkbox_link Filter
Filter to adjust new legal checkbox link for free version.
$linkstring Link to vendidero website.
add_filter( "woocommerce_gzd_admin_new_legal_checkbox_link", function( $link ) {
// Do something
return $link;
}, 10, 1 );
woocommerce_gzd_admin_legal_checkbox Filter
Adjust the checkbox within admin edit view.
$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.$checkbox_idint The checkbox id.
add_filter( "woocommerce_gzd_admin_legal_checkbox", function( $checkbox, $checkbox_id ) {
// Do something
return $checkbox;
}, 10, 2 );
woocommerce_gzd_before_save_legal_checkbox Action
Before saving a legal checkbox. This hook fires before a certain legal checkbox saves it’s settings.
$checkbox\WC_GZD_Legal_Checkbox The checkbox to be saved.
add_action( "woocommerce_gzd_before_save_legal_checkbox", function( $checkbox ) {
// Do something
}, 10, 1 );
woocommerce_gzd_after_save_legal_checkbox Action
After saving a legal checkbox This hook fires after a certain legal checkbox saves it’s settings.
$checkbox\WC_GZD_Legal_Checkbox The checkbox containing the new settings.
add_action( "woocommerce_gzd_after_save_legal_checkbox", function( $checkbox ) {
// Do something
}, 10, 1 );
woocommerce_gzd_before_admin_legal_checkboxes Action
Before outputting admin checkboxes. This hook fires before legal checkboxes admin list view is being output.
add_action( "woocommerce_gzd_before_admin_legal_checkboxes", function( ) {
// Do something
}, 10 );
woocommerce_gzd_admin_settings_tab_$postfix_breadcrumb Filter
Filter to adjust the breadcrumb items for a certain settings tab. The dynamic portion of the hook name, `$this->get_name()` refers to the tab name e.g. checkboxes.
$breadcrumbarray Array containing breadcrumb data.
woocommerce_gzd_admin_settings_tab_$postfix Filter
Filter to adjust the settings for a certain settings tab. The dynamic portion of the hook name, `$this->get_name()` refers to the tab name e.g. checkboxes.
$settingsarray Array containing settings data.
woocommerce_gzd_admin_settings_tab_$postfix_{$section_id} Filter
Filter to adjust the settings for a certain section of a settings tab. The dynamic portion of the hook name, `$this->get_name()` refers to the tab name e.g. checkboxes. `$current_section` refers to the current section e.g. product_widget.
$settingsarray Array containing settings data.
woocommerce_gzd_admin_settings Filter
General filter to adjust the settings for setting tabs.
$settingsarray Array containing settings data.$tab_namestring The name of the tab e.g. checkboxes$section_idstring The section name e.g. product_widgets. Might be empty too.
add_filter( "woocommerce_gzd_admin_settings", function( $settings, $tab_name, $section_id ) {
// Do something
return $settings;
}, 10, 3 );
woocommerce_gzd_admin_settings_before_wrapper_$postfix Action
Fires before settings for a certain tab are rendered. The dynamic portion of the hook name, $this->get_name(), refers to the current tab name e.g. checkboxes.
$current_sectionstring The current sub section of the tab.
woocommerce_gzd_admin_settings_before_save_$postfix Action
Fires before settings for a certain tab are saved. The dynamic portion of the hook name, `$this->get_name()`, refers to the current tab id e.g. checkboxes.
$settingsarray Array containing the settings to be saved.$current_sectionstring The current section.
woocommerce_gzd_admin_settings_before_save_$postfix_{$current_section} Action
Fires before settings for a certain section of a tab are saved. The dynamic portion of the hook name, `$this->get_name()` and `$current_section`, refer to the current tab id e.g. checkboxes and the current section name e.g. product_widgets.
$settingsarray Array containing the settings to be saved.
woocommerce_gzd_admin_settings_after_save_$postfix Action
Fires after settings for a certain tab have been saved. The dynamic portion of the hook name, `$this->get_name()`, refers to the current tab id e.g. checkboxes.
$settingsarray Array containing the settings to be saved.$current_sectionstring The current section.
woocommerce_gzd_admin_settings_after_save_$postfix_{$current_section} Action
Fires after settings for a certain section of a tab are saved. The dynamic portion of the hook name, `$this->get_name()` and `$current_section`, refer to the current tab id e.g. checkboxes and the current section name e.g. product_widgets.
$settingsarray Array containing the settings to be saved.
woocommerce_gzd_food_deposit_settings Filter
$paramarray
add_filter( "woocommerce_gzd_food_deposit_settings", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_food_settings Filter
$paramstring
add_filter( "woocommerce_gzd_food_settings", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_admin_settings_styles Action
This action indicates that the admin settings styles are enqueued.
add_action( "woocommerce_gzd_admin_settings_styles", function( ) {
// Do something
}, 10 );
woocommerce_gzd_admin_settings_scripts Action
This action indicates that the admin settings scripts are enqueued.
add_action( "woocommerce_gzd_admin_settings_scripts", function( ) {
// Do something
}, 10 );
woocommerce_gzd_admin_settings_tabs Filter
Filter to register or remove certain setting tabs from the Germanized settings screen. Make sure that your class is loaded before adding it to the tabs array.
$tabsarray Array containing key => value pairs of tab name and class name.
add_filter( "woocommerce_gzd_admin_settings_tabs", function( $tabs ) {
// Do something
return $tabs;
}, 10, 1 );
woocommerce_gzd_settings_section_before_checkbox_options_{$checkbox_id} Action
Before output admin checkbox settings. Fires before a checkbox admin settings screen is rendered.
$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
woocommerce_gzd_settings_section_after_checkbox_options_{$checkbox_id} Action
After output admin checkbox settings. Fires after a checkbox admin settings screen is rendered.
$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
woocommerce_gzd_admin_settings_before_{$current_tab_name} Action
Before admin tab settings output. Executes right before setting output for a specific admin setting tab `$tab_name` e.g. shopmarks.
$paramstring
woocommerce_gzd_admin_settings_before_{$current_tab_name}_{$current_section} Action
Before admin tab section settings output. Executes right before setting output for a specific admin setting tab `$tab_name` e.g. shopmarks. `$current_section` refers to the current section e.g. product_widgets.
$settingsarray[] The settings array.
woocommerce_gzd_admin_settings_after_{$current_tab_name} Action
After admin tab settings output. Executes right after setting output for a specific admin setting tab `$tab_name` e.g. shopmarks.
$settingsarray[] The settings array.
woocommerce_gzd_admin_settings_after_{$current_tab_name}_{$current_section} Action
After admin tab section settings output. Executes right after setting output for a specific admin setting tab `$tab_name` e.g. shopmarks. `$current_section` refers to the current section e.g. product_widgets.
$settingsarray[] The settings array.
woocommerce_gzd_status_after_germanized Action
After Germanized status page output. Fires after Germanized has rendered it’s status page.
add_action( "woocommerce_gzd_status_after_germanized", function( ) {
// Do something
}, 10 );
woocommerce_gzd_status_after_vat Action
After VAT status. Fires after Germanized has rendered the VAT status section.
add_action( "woocommerce_gzd_status_after_vat", function( ) {
// Do something
}, 10 );
woocommerce_gzd_status_after_legal_pages Action
After legal pages section. Fires after the legal pages section within the Germanized status page.
add_action( "woocommerce_gzd_status_after_legal_pages", function( ) {
// Do something
}, 10 );
woocommerce_gzd_status_after_compatibility Action
After compatibility section. Fires after the compatibility section within the Germanized status page.
add_action( "woocommerce_gzd_status_after_compatibility", function( ) {
// Do something
}, 10 );
woocommerce_gzd_status_after_tools Action
After tools section. Fires after the tools section within the Germanized status page.
add_action( "woocommerce_gzd_status_after_tools", function( ) {
// Do something
}, 10 );
woocommerce_gzd_status_after_templates Action
After templates section. Fires after the templates section within the Germanized status page.
add_action( "woocommerce_gzd_status_after_templates", function( ) {
// Do something
}, 10 );
woocommerce_gzd_status_{$status} Action
Admin status screen. Executes for a default status page.
woocommerce_gzd_legal_checkboxes_option_keys Filter
Filters legal checkbox default option keys.
$argsarray Option keys.
add_filter( "woocommerce_gzd_legal_checkboxes_option_keys", function( $args ) {
// Do something
return $args;
}, 10, 1 );
woocommerce_gzd_db_prices_by_display_prices Filter
$param_1array$param_2string$param_3string
add_filter( "woocommerce_gzd_db_prices_by_display_prices", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
wc_gzd_frontend_hook_priority Filter
$param_1string$param_2string$param_3string
add_filter( "wc_gzd_frontend_hook_priority", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_hook_priority_cache_duration Filter
$paramstring
add_filter( "woocommerce_gzd_hook_priority_cache_duration", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_legal_checkbox_{$id}_label Filter
Filter the label for a legal checkbox. `$id` equals the checkbox id.
$labelstring The HTML label.$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
woocommerce_gzd_legal_checkbox_{$id}_label_args Filter
Filter available label arguments for a legal checkbox. `$id` equals the checkbox id.
$label_argsstring[] Label arguments as key => value.$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
woocommerce_gzd_legal_checkbox_{$id}_error_text Filter
Filter the error message for a legal checkbox. `$id` equals the checkbox id.
$error_textstring The error message.$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
woocommerce_gzd_legal_checkbox_get_supporting_locations Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_legal_checkbox_get_supporting_locations", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_legal_checkbox_show_for_categories Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_legal_checkbox_show_for_categories", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_legal_checkbox_show_for_payment_method Filter
$param_1string$param_2string$param_3string
add_filter( "woocommerce_gzd_legal_checkbox_show_for_payment_method", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_legal_checkbox_{$location}_{$id}_validate Filter
Filter whether a certain checkbox `$id` shall be validated for a certain location `$location`.
$validatebool Whether to validate the checkbox or not.$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
woocommerce_gzd_legal_checkbox_fields_before_titles Filter
Filters legal checkbox settings before titles.
$settingsarray Array containing settings.$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
add_filter( "woocommerce_gzd_legal_checkbox_fields_before_titles", function( $settings, $checkbox ) {
// Do something
return $settings;
}, 10, 2 );
woocommerce_gzd_legal_checkbox_{$id}_fields_before_titles Filter
Filters legal checkbox settings for `$id` before titles.
$settingsarray Array containing settings.$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
woocommerce_gzd_legal_checkbox_fields Filter
Filters legal checkbox settings.
$settingsarray Array containing settings.$checkbox\WC_GZD_Legal_Checkbox The checkbox instance.
add_filter( "woocommerce_gzd_legal_checkbox_fields", function( $settings, $checkbox ) {
// Do something
return $settings;
}, 10, 2 );
woocommerce_gzd_order_button_payment_gateway_text Filter
Filter to adjust the forced order submit button text per gateway. By default Woo allows gateways to adjust the submit button text. This behaviour does not comply with the button solution – that is why Germanized adds the option-based static text by default.
$button_textstring The static button text from within the options.$gateway_idstring The gateway id.
add_filter( "woocommerce_gzd_order_button_payment_gateway_text", function( $button_text, $gateway_id ) {
// Do something
return $button_text;
}, 10, 2 );