• Germanized
  • Hooks

Germanized Core

woocommerce_gzd_shopmark_product_loop_defaults Filter

Filter to adjust default shopmark configuration for the product loop.

  1. $defaults array Array containing the default configuration.
add_filter( "woocommerce_gzd_shopmark_product_loop_defaults", function( $defaults ) {
    // Do something
    return $defaults;    
}, 10, 1 );

woocommerce_gzd_shopmark_product_block_defaults Filter

Filter to adjust default shopmark configuration for product grid blocks.

  1. $defaults array Array containing the default configuration.
add_filter( "woocommerce_gzd_shopmark_product_block_defaults", function( $defaults ) {
    // Do something
    return $defaults;    
}, 10, 1 );

woocommerce_gzd_shopmark_cart_defaults Filter

Filter to adjust default shopmark configuration for the cart.

  1. $defaults array Array containing the default configuration.
add_filter( "woocommerce_gzd_shopmark_cart_defaults", function( $defaults ) {
    // Do something
    return $defaults;    
}, 10, 1 );

woocommerce_gzd_shopmark_mini_cart_defaults Filter

Filter to adjust default shopmark configuration for the mini cart (cart dropdown).

  1. $defaults array Array containing the default configuration.
add_filter( "woocommerce_gzd_shopmark_mini_cart_defaults", function( $defaults ) {
    // Do something
    return $defaults;    
}, 10, 1 );

woocommerce_gzd_shopmark_checkout_defaults Filter

Filter to adjust default shopmark configuration for the checkout.

  1. $defaults array Array containing the default configuration.
add_filter( "woocommerce_gzd_shopmark_checkout_defaults", function( $defaults ) {
    // Do something
    return $defaults;    
}, 10, 1 );

woocommerce_gzd_shopmark_order_defaults Filter

Filter to adjust default shopmark configuration for the order (thankyou, pay for order).

  1. $defaults array Array containing the default configuration.
add_filter( "woocommerce_gzd_shopmark_order_defaults", function( $defaults ) {
    // Do something
    return $defaults;    
}, 10, 1 );

woocommerce_gzd_shopmark_{$location}_filters Filter

Filter to adjust available hook names for a certain location. The dynamic portion of the hook name, `$location` refers to the shopmark location e.g. single_product

  1. $hook_names array Array containing available hook names.

woocommerce_gzd_shopmark_{$location}_types Filter

Filter to adjust available shopmark types e.g. unit_price for a certain location. The dynamic portion of the hook name, `$location` refers to the shopmark location e.g. single_product

  1. $hook_names array Array containing available shopmark types.

woocommerce_gzd_is_woocommerce_activated Filter

  1. $param string
add_filter( "woocommerce_gzd_is_woocommerce_activated", function( $param ) {
    // Do something
    return $param;    
}, 10, 1 );

woocommerce_gzd_plugins_install_api_error Action

  1. $param_1 string
  2. $param_2 string
add_action( "woocommerce_gzd_plugins_install_api_error", function( $param_1, $param_2 ) {
    // Do something
        
}, 10, 2 );

woocommerce_gzd_plugins_install_error Action

  1. $param_1 string
  2. $param_2 string
  3. $param_3 string
  4. $param_4 string
add_action( "woocommerce_gzd_plugins_install_error", function( $param_1, $param_2, $param_3, $param_4 ) {
    // Do something
        
}, 10, 4 );

woocommerce_gzd_plugins_activate_error Action

  1. $param_1 string
  2. $param_2 string
add_action( "woocommerce_gzd_plugins_activate_error", function( $param_1, $param_2 ) {
    // Do something
        
}, 10, 2 );

woocommerce_gzd_disable_checkout_block_adjustments Filter

  1. $param bool
add_filter( "woocommerce_gzd_disable_checkout_block_adjustments", function( $param ) {
    // Do something
    return $param;    
}, 10, 1 );

woocommerce_gzd_photovoltaic_systems_vat_exemption_available_notice Filter

  1. $param string
add_filter( "woocommerce_gzd_photovoltaic_systems_vat_exemption_available_notice", function( $param ) {
    // Do something
    return $param;    
}, 10, 1 );

woocommerce_germanized_checkout_show_terms Filter

Filter that allows hiding the terms checkbox in checkout.

  1. $hide bool Whether to hide the terms checkbox.
add_filter( "woocommerce_germanized_checkout_show_terms", function( $hide ) {
    // Do something
    return $hide;    
}, 10, 1 );

woocommerce_gzd_review_order_before_cart_contents Action

Before review order product table. Fires before rendering the checkout review order product table. This additional template replaces Woo’s default product table within review-order.php.

add_action( "woocommerce_gzd_review_order_before_cart_contents", function(  ) {
    // Do something
        
}, 10 );

woocommerce_gzd_review_order_before_submit Action

Before review order submit button. This hooks fires right before outputting the order submit button.

add_action( "woocommerce_gzd_review_order_before_submit", function(  ) {
    // Do something
        
}, 10 );

woocommerce_gzd_review_order_after_submit Action

add_action( "woocommerce_gzd_review_order_after_submit", function(  ) {
    // Do something
        
}, 10 );

woocommerce_gzd_after_revocation_form_fields Action

After revocation form fields. Executes after outputting revocation form fields.

add_action( "woocommerce_gzd_after_revocation_form_fields", function(  ) {
    // Do something
        
}, 10 );