pmpro_wp_signup_location

The Paid Memberships Pro pmpro wp signup location function.

Description

pmpro_wp_signup_location( $location ); 

Parameters (1)

0. $location
The location.

Usage

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

Defined (1)

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

/includes/login.php  
  1. function pmpro_wp_signup_location($location) 
  2. if(is_multisite() && pmpro_getOption("redirecttosubscription")) 
  3. return pmpro_url("levels"); 
  4. else 
  5. return $location;