woocommerce_gzd_checkout_load_ajax_relevant_hooks

The WooCommerce Germanized woocommerce gzd checkout load ajax relevant hooks function.

Description

woocommerce_gzd_checkout_load_ajax_relevant_hooks(); 

Usage

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

Defined (1)

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

/includes/wc-gzd-template-hooks.php  
  1. function woocommerce_gzd_checkout_load_ajax_relevant_hooks() { 
  2.  
  3. if ( is_ajax() ) 
  4. return; 
  5.  
  6.  
  7. if ( get_option( 'woocommerce_gzd_checkout_legal_digital_checkbox' ) === 'yes' ) 
  8.  
  9. if ( get_option( 'woocommerce_gzd_checkout_legal_service_checkbox' ) === 'yes' ) 
  10.  
  11. if ( get_option( 'woocommerce_gzd_checkout_legal_parcel_delivery_checkbox' ) === 'yes' ) 
  12.  
  13. // Add payment title heading 
  14.