pmpro_cancel_previous_subscriptions_false

When applied, previous subscriptions won't be cancelled when changing membership levels.

Description

pmpro_cancel_previous_subscriptions_false(); 

Use a function here instead of __return_false so we can easily turn add and remove it.


Usage

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

Defined (1)

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

/includes/profile.php  
  1. function pmpro_cancel_previous_subscriptions_false() 
  2. return false;