wcdn_get_order_invoice_number

Get the invoice number of an order.

Description

wcdn_get_order_invoice_number( $order_id ); 

Parameters (1)

0. $order_id
The order id.

Usage

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

Defined (1)

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

/includes/wcdn-template-functions.php  
  1. function wcdn_get_order_invoice_number( $order_id ) { 
  2. global $wcdn; 
  3. return $wcdn->print->get_order_invoice_number( $order_id );