wcdn_get_template

The WooCommerce Print Invoices & Delivery Notes wcdn get template function.

Description

wcdn_get_template( (string) $name ); 

Parameters (1)

0. $name (string)
The name.

Usage

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

Defined (1)

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

/woocommerce-delivery-notes.php  
  1. function wcdn_get_template( $name ) { 
  2. global $wcdn; 
  3. $wcdn->print->get_template( $name );