get_ms_invoice_due_date

The Membership 2 get ms invoice due date function.

Description

get_ms_invoice_due_date(); 

Usage

  1. if ( !function_exists( 'get_ms_invoice_due_date' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'membership-2/app/template/template-tags.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_ms_invoice_due_date(); 
  7.  

Defined (1)

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

/app/template/template-tags.php  
  1. function get_ms_invoice_due_date() { 
  2. return esc_html( 
  3. MS_Helper_Period::format_date( 
  4. MS_Helper_Template::$ms_account['invoice']->due_date,  
  5. __( 'F j', 'membership2' ) 
  6. );