pmpro_gateways

The Paid Memberships Pro pmpro gateways function.

Description

pmpro_gateways(); 

Usage

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

Defined (1)

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

/paid-memberships-pro.php  
  1. function pmpro_gateways() { 
  2. $pmpro_gateways = array( 
  3. '' => __('Testing Only', 'paid-memberships-pro' ),  
  4. 'check' => __('Pay by Check', 'paid-memberships-pro' ),  
  5. stripe => __('Stripe', 'paid-memberships-pro' ),  
  6. 'paypalexpress' => __('PayPal Express', 'paid-memberships-pro' ),  
  7. 'paypal' => __('PayPal Website Payments Pro', 'paid-memberships-pro' ),  
  8. 'payflowpro' => __('PayPal Payflow Pro/PayPal Pro', 'paid-memberships-pro' ),  
  9. 'paypalstandard' => __('PayPal Standard', 'paid-memberships-pro' ),  
  10. 'authorizenet' => __('Authorize.net', 'paid-memberships-pro' ),  
  11. 'braintree' => __('Braintree Payments', 'paid-memberships-pro' ),  
  12. twocheckout => __('2Checkout', 'paid-memberships-pro' ),  
  13. 'cybersource' => __('Cybersource', 'paid-memberships-pro' ) 
  14. ); 
  15.  
  16. return apply_filters( 'pmpro_gateways', $pmpro_gateways );