get_ms_no_account_membership_status

The Membership 2 get ms no account membership status function.

Description

get_ms_no_account_membership_status(); 

Usage

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

Defined (1)

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

/app/template/template-tags.php  
  1. function get_ms_no_account_membership_status() { 
  2. $cols = 3; 
  3.  
  4. if ( MS_Model_Addon::is_enabled( MS_Model_Addon::ADDON_TRIAL ) ) { 
  5. $cols += 1; 
  6.  
  7. return sprintf( 
  8. '<tr><td colspan="%1$s">%2$s</td></tr>',  
  9. $cols,  
  10. __( '(No Membership)', 'membership2' ) 
  11. );