wcdn_has_customer_notes

Return has customer notes.

Description

wcdn_has_customer_notes( $order ); 

Parameters (1)

0. $order
The order.

Usage

  1. if ( !function_exists( 'wcdn_has_customer_notes' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-print-invoice-delivery-note/includes/wcdn-template-functions.php'; 
  3.  
  4. // The order. 
  5. $order = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wcdn_has_customer_notes($order); 
  9.  

Defined (1)

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

/includes/wcdn-template-functions.php  
  1. function wcdn_has_customer_notes( $order ) { 
  2. global $wcdn; 
  3. if( wcdn_get_customer_notes( $order ) ) { 
  4. return true; 
  5. } else { 
  6. return false;