pmpro_button

The Paid Memberships Pro pmpro button shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[pmpro_button]'); 
  1. // variable usage 
  2. $result = do_shortcode('[pmpro_button]'); 
  3. echo $result;  

Defined (1)

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

/shortcodes/checkout_button.php  
  1. 'class' => NULL 
  2. ), $atts)); 
  3.  
  4. return pmpro_getCheckoutButton($level, $text, $class); 
  5. add_shortcode("pmpro_button", "pmpro_checkout_button_shortcode"); 
  6. add_shortcode("pmpro_checkout_button", "pmpro_checkout_button_shortcode");