wc_gzd_get_legal_text_error

The WooCommerce Germanized wc gzd get legal text error function.

Description

wc_gzd_get_legal_text_error(); 

Usage

  1. if ( !function_exists( 'wc_gzd_get_legal_text_error' ) ) { 
  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_error(); 
  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_error() { 
  2. $plain_text = ''; 
  3. if ( get_option( 'woocommerce_gzd_checkout_legal_text_error' ) ) 
  4. $plain_text = wc_gzd_get_legal_text( get_option( 'woocommerce_gzd_checkout_legal_text_error' ) ); 
  5. return $plain_text;