wccm_checkout_text_after

The WooCommerce Checkout Manager wccm checkout text after function.

Description

wccm_checkout_text_after(); 

Usage

  1. if ( !function_exists( 'wccm_checkout_text_after' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-checkout-manager/includes/classes/main.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wccm_checkout_text_after(); 
  7.  

Defined (1)

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

/includes/classes/main.php  
  1. function wccm_checkout_text_after() { 
  2. $options = get_option( 'wccs_settings' ); 
  3.  
  4. if ( !empty($options['checkness']['text2']) ) { 
  5. if ( $options['checkness']['checkbox3'] == true || $options['checkness']['checkbox4'] == true ) { 
  6. if ( $options['checkness']['checkbox4'] == true ) { 
  7. echo ''.$options['checkness']['text2'].''; 
  8. }}} 
  9.  
  10. if ( !empty($options['checkness']['text1']) ) { 
  11. if ( $options['checkness']['checkbox1'] == true || $options['checkness']['checkbox2'] == true ) { 
  12. if ( $options['checkness']['checkbox2'] == true ) { 
  13. echo ''.$options['checkness']['text1'].''; 
  14. }}}