wcdn_payment_method

The WooCommerce Print Invoices & Delivery Notes wcdn payment method function.

Description

wcdn_payment_method(); 

Usage

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

Defined (1)

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

/woocommerce-delivery-notes.php  
  1. function wcdn_payment_method() { 
  2. global $wcdn; 
  3. echo apply_filters( 'wcdn_payment_method', __( $wcdn->print->get_order()->payment_method_title, 'woocommerce' ) );