membership2_use_m2

The Membership 2 membership2 use m2 function.

Description

membership2_use_m2(); 

Usage

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

Defined (1)

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

/membership.php  
  1. function membership2_use_m2() { 
  2. update_option( 'm2_use_new_version', true );