get_ms_invoice_total

The Membership 2 get ms invoice total function.

Description

get_ms_invoice_total(); 

Usage

  1. if ( !function_exists( 'get_ms_invoice_total' ) ) { 
  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_total(); 
  7.  

Defined (1)

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

/app/template/template-tags.php  
  1. function get_ms_invoice_total() { 
  2. return esc_html( MS_Helper_Billing::format_price( MS_Helper_Template::$ms_account['invoice']->total ) );