pmpro_checkout_signon_secure

Force PMPro to login over http or https in case other plugins (like WordPress MU Domain Mapping) conflict with what should be chosen here


 

pmpro_checkout_oldemail

This hook controls whether or not to allow registrations with email addresses which have already been used. By default, PMPro does not allow multiple registrations with one email address and shows an error if the email address has already been used.


$oldemail = apply_filters( "pmpro_checkout_oldemail", ( false !== $oldem_user ? $oldem_user->user_email : null ) );

pmpro_wp_new_user_notification

Controls whether to send the default WordPress new user notifications when a user is created at checkout. By default, this is set to false.


add_filter("pmpro_wp_new_user_notification", "__return_false", 0);

pmpro_checkout_start_date

This hook pmpro_checkout_start_date allows you to change the start date of a membership before checkout.


apply_filters( "pmpro_checkout_start_date", $startdate, int $user_id, object $pmpro_level );

pmpro_discount_code_level

This filter modifies the level  given by a discount code.  It passes the level object and the discount code ID.


apply_filters( "pmpro_discount_code_level", object $pmpro_level, int $discount_code_id );

pmpro_required_user_fields

Filters the required fields for the Account Information section on the checkout page. Passes the array of field names.


apply_filters( "pmpro_required_user_fields", array $pmpro_required_user_fields );

pmpro_confirmation_url

This filter changes the URL to redirect to on confirmation. By default, this redirects to the PMPro Confirmation page with pmpro_url("confirmation", "?level=" . $pmpro_level->id). It also passes the user ID of the current user and the level object.


apply_filters( "pmpro_confirmation_url", string $rurl, int $user_id, object $pmpro_level );

pmpro_valid_gateways

Modifies the list of valid gateways used by PMPro. By default, it returns the gateway set in Memberships > Payment Settings in the WordPress Dashboard.


apply_filters( "pmpro_valid_gateways", array( "paypal", "paypalexpress" ) );

pmpro_checkout_level

This hook allows you to modify the membership level object before checkout.


apply_filters('pmpro_checkout_level', object $pmpro_level);