wc_gzd_get_legal_text_digital

The WooCommerce Germanized wc gzd get legal text digital function.

Description

wc_gzd_get_legal_text_digital(); 

Usage

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

Defined (1)

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

/includes/wc-gzd-cart-functions.php  
  1. function wc_gzd_get_legal_text_digital() { 
  2. $plain_text = __( 'I want immediate access to the digital content and I acknowledge that thereby I lose my right to cancel once the service has begun.', 'woocommerce-germanized' ); 
  3. if ( get_option( 'woocommerce_gzd_checkout_legal_text_digital' ) ) 
  4. $plain_text = wc_gzd_get_legal_text( get_option( 'woocommerce_gzd_checkout_legal_text_digital' ) ); 
  5. return $plain_text;