wcdn_get_order_custom_field

The WooCommerce Print Invoices & Delivery Notes wcdn get order custom field function.

Description

wcdn_get_order_custom_field( $field ); 

Parameters (1)

0. $field
The field.

Usage

  1. if ( !function_exists( 'wcdn_get_order_custom_field' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-print-invoices-delivery-notes/woocommerce-delivery-notes.php'; 
  3.  
  4. // The field. 
  5. $field = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wcdn_get_order_custom_field($field); 
  9.  

Defined (1)

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

/woocommerce-delivery-notes.php  
  1. function wcdn_get_order_custom_field( $field ) { 
  2. global $wcdn; 
  3. return $wcdn->print->get_order_field( $field );