membership2_is_old_app

The Membership 2 membership2 is old app function.

Description

membership2_is_old_app(); 

Usage

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

Defined (1)

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

/membership.php  
  1. function membership2_is_old_app() { 
  2. return true != get_option( 'm2_use_new_version' );