pmpro_send_checkout_emails

Filter allows control of sending checkout emails


apply_filters( 'pmpro_send_checkout_emails', true);

pmpro_checkout_order

Used by integrated payment gateways to filter the order.


add_filter( 'pmpro_checkout_order', object $morder );

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_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" ) );