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.
$breadcrumb
array 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.
$settings
array 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.
$settings
array Array containing settings data.
woocommerce_gzd_admin_settings Filter
General filter to adjust the settings for setting tabs.
$settings
array Array containing settings data.$tab_name
string The name of the tab e.g. checkboxes$section_id
string 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_section
string 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.
$settings
array Array containing the settings to be saved.$current_section
string 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.
$settings
array 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.
$settings
array Array containing the settings to be saved.$current_section
string 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.
$settings
array Array containing the settings to be saved.
woocommerce_gzd_admin_new_legal_checkbox_link Filter
Filter to adjust new legal checkbox link for free version.
$link
string 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_id
int 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_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_edit_product_variation_food_wrapper Action
$param_1
string$param_2
string$param_3
string
add_action( "woocommerce_gzd_edit_product_variation_food_wrapper", function( $param_1, $param_2, $param_3 ) { // Do something }, 10, 3 );
woocommerce_gzd_edit_product_food_panel Action
add_action( "woocommerce_gzd_edit_product_food_panel", function( ) { // Do something }, 10 );
woocommerce_gzd_save_display_unit_price_data Filter
Filter to adjust unit price data before saving a product.
$data
array The unit price data.$product
\WC_Product The product object.
add_filter( "woocommerce_gzd_save_display_unit_price_data", function( $data, $product ) { // Do something return $data; }, 10, 2 );
woocommerce_gzd_product_saveable_data Filter
Filter that allows adjusting Germanized product data before saving.
$data
array Product data to be saved.$product
\WC_Product The product object.
add_filter( "woocommerce_gzd_product_saveable_data", function( $data, $product ) { // Do something return $data; }, 10, 2 );
woocommerce_gzd_product_differential_taxed_tax_status Filter
Filter the tax status of a differential taxed product.
$tax_status
string 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_template_check Filter
Filter to include certain packages or plugins while checking for outdated templates.
$template_data
array Template data in key => value pairs.
add_filter( "woocommerce_gzd_template_check", function( $template_data ) { // Do something return $template_data; }, 10, 1 );
woocommerce_gzd_sync_wp_privacy_page Filter
This filter is documented in includes/admin/class-wc-gzd-admin.php
$param
bool
add_filter( "woocommerce_gzd_sync_wp_privacy_page", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_after_resend_order_confirmation_email Action
Admin manual resend order confirmation email. This hook fires after a manual resend of the order confirmation email has been triggered.
$order
\WC_Order The order for which the confirmation email is sent.$mail_id
string The email id (customer_processing_order).
add_action( "woocommerce_gzd_after_resend_order_confirmation_email", function( $order, $mail_id ) { // Do something }, 10, 2 );
woocommerce_gzd_admin_assets Action
After admin assets. This hook fires after Germanized has loaded and enqueued it’s admin assets.
$this
\WC_GZD_Admin The admin class.
add_action( "woocommerce_gzd_admin_assets", function( $this ) { // Do something }, 10, 1 );
woocommerce_gzd_deleted_text_options Action
After text options deletion. This hook fires after Germanized has deleted and re-installed it’s text options.
add_action( "woocommerce_gzd_deleted_text_options", function( ) { // Do something }, 10 );
woocommerce_gzd_skip_order_item_split_tax_calculation Filter
$param_1
bool$param_2
string
add_filter( "woocommerce_gzd_skip_order_item_split_tax_calculation", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_get_product_{$prop} Filter
Filter to adjust a certain product property e.g. unit_price. The dynamic portion of the hook name, `$prop` refers to the product property e.g. unit_price.
$value
mixed The property value.$gzd_product
\WC_GZD_Product The GZD product instance.$product
\WC_Product The product instance.$context
string
woocommerce_gzd_get_product_nutrients Filter
$param_1
array$param_2
string$param_3
string
add_filter( "woocommerce_gzd_get_product_nutrients", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_get_product_nutrients_html Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_get_product_nutrients_html", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_get_product_allergenic Filter
$param_1
array$param_2
string$param_3
string
add_filter( "woocommerce_gzd_get_product_allergenic", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_get_product_formatted_allergenic Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_get_product_formatted_allergenic", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_product_formatted_nutri_score Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_product_formatted_nutri_score", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_product_net_filling_quantity_unit Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_product_net_filling_quantity_unit", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_product_formatted_net_filling_quantity Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_product_formatted_net_filling_quantity", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_drain_weight_unit Filter
$param
string
add_filter( "woocommerce_gzd_drain_weight_unit", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_product_formatted_drain_weight Filter
$param_1
string$param_2
string
add_filter( "woocommerce_gzd_product_formatted_drain_weight", function( $param_1, $param_2 ) { // Do something return $param_1; }, 10, 2 );
woocommerce_gzd_product_includes_alcohol Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_product_includes_alcohol", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );
woocommerce_gzd_product_deposit_packaging_type Filter
$param
string
add_filter( "woocommerce_gzd_product_deposit_packaging_type", function( $param ) { // Do something return $param; }, 10, 1 );
woocommerce_gzd_product_deposit_packaging_type_title Filter
$param
string
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_1
bool$param_2
string
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_1
string$param_2
string$param_3
string$param_4
string$param_5
string
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_deposit_amount_including_tax Filter
Filter to adjust the deposit amount including tax.
$deposit_amount
string The calculated deposit amount.$price
string The price passed.$qty
int 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_amount
string The calculated deposit amount.$price
string The price passed.$qty
int 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_1
string$param_2
string$param_3
string$param_4
string
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_has_deposit Filter
$param_1
string$param_2
string$param_3
string
add_filter( "woocommerce_gzd_product_has_deposit", function( $param_1, $param_2, $param_3 ) { // Do something return $param_1; }, 10, 3 );