prepare_ms_invoice_classes

The Membership 2 prepare ms invoice classes function.

Description

prepare_ms_invoice_classes(); 

Usage

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

Defined (1)

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

/app/template/template-tags.php  
  1. function prepare_ms_invoice_classes() { 
  2. return array( 
  3. 'ms-invoice-' . MS_Helper_Template::$ms_account['invoice']->id,  
  4. 'ms-subscription-' . MS_Helper_Template::$ms_account['invoice']->ms_relationship_id,  
  5. 'ms-invoice-' . MS_Helper_Template::$ms_account['invoice']->status,  
  6. 'ms-gateway-' . MS_Helper_Template::$ms_account['invoice']->gateway_id,  
  7. 'ms-membership-' . MS_Helper_Template::$ms_account['invoice']->membership_id,  
  8. 'ms-type-' . MS_Helper_Template::$ms_account['invoice']->type,  
  9. 'ms-payment-' . MS_Helper_Template::$ms_account['invoice']->payment_type,  
  10. );