• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Plugins » WP-Members » Documentation » Filter Hooks » wpmem_exp_paypal

wpmem_exp_paypal

Description

Filters the PayPal settings.

Parameters

$exp_pp
(array) (required) An array of setting values.

$renew
(string) (optional) Indicates this is a renewal.

Changelog

Introduced in version 0.3.0

Source

wpmem_exp_paypal is located in module.php

Usage

add_filter( 'wpmem_exp_paypal', 'my_exp_paypal', 10, 2 );

function my_exp_paypal( $exp_pp, $renew ) {
	
	// The paypal ID for the transaction (seller).
	$exp_arr['paypal_id'] = 1;
	
	// Is PayPal live or using the sandbox? (0|1)
	$exp_arr['paypal_live'] = 1;
	
	// Enables transaction log (0|1)
	$exp_arr['ipn_debug'] = 0;
	
	// post ID of the return page
	$exp_arr['login_page'] = 930;
	
	// Transaction type (_xclick|_xclick-subscriptions)
	$exp_arr['paypal_cmd'] = '_xclick';
	
	// Show button on successful registration (0|1)
	$exp_arr['show_button'] = 1;
	
	// Expires users on IPN refund message (0|1)
	$exp_arr['refunds'] = 1;

	return $exp_pp;
}
See a list of all filter and action hooks

Ready to get started?

Join Today!

© 2025 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy