woocommerce_gzd_template_order_item_hooks

The WooCommerce Germanized woocommerce gzd template order item hooks function.

Description

woocommerce_gzd_template_order_item_hooks(); 

Usage

  1. if ( !function_exists( 'woocommerce_gzd_template_order_item_hooks' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-germanized/includes/wc-gzd-template-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = woocommerce_gzd_template_order_item_hooks(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-gzd-template-functions.php  
  1. function woocommerce_gzd_template_order_item_hooks() { 
  2. add_filter( 'woocommerce_order_item_name', 'wc_gzd_cart_product_units', wc_gzd_get_hook_priority( 'order_product_units' ), 3 ); 
  3. add_filter( 'woocommerce_order_item_name', 'wc_gzd_cart_product_delivery_time', wc_gzd_get_hook_priority( 'order_product_delivery_time' ), 3 ); 
  4. add_filter( 'woocommerce_order_item_name', 'wc_gzd_cart_product_item_desc', wc_gzd_get_hook_priority( 'order_product_item_desc' ), 3 );