pmpro_<pmpro_page_name>

The Paid Memberships Pro pmpro page name shortcode.


Usage

  1. // assign value 
  2. $pmpro_
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$pmpro_"); 
  1. // assign value 
  2. $pmpro_
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$pmpro_"); 
  6. echo $result;  

Defined (1)

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

/includes/init.php  
  1. $temp_content = ob_get_contents(); 
  2. // ob_end_clean(); 
  3. */ 
  4. return apply_filters("pmpro_pages_shortcode_" . $pmpro_page_name, $temp_content); 
  5. add_shortcode("pmpro_" . $pmpro_page_name, "pmpro_pages_shortcode"); 
  6. break; //only the first page found gets a shortcode replacement 
  7. elseif(!empty($pmpro_page_id) && is_page($pmpro_page_id)) 
  8. //shortcode has params, but we still want to load the preheader