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


apply_filters('pmpro_checkout_level', object $pmpro_level);

Parameters

$pmpro_level
object

Return Value

The callback function should return the modified $pmpro_level object.


Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/preheaders/checkout.php

View in Source Code

Related Articles and Recipes

Add a Membership Duration dropdown to Checkout and Offer a Discount for Extending Membership By Travis Lima

Offer Expired and “Old” Members a Membership Renewal Discount for Coming Back By Kimberly Coleman

Translate Your Membership Level Names with Paid Memberships Pro By Jason Coleman

Sell Access to Post Categories “à la carte” Using Price-Adjusting Register Helper Fields By Kimberly Coleman

Modify Level Price at Checkout Based on User-Selections By Kimberly Coleman

Provide a discount for early membership renewal By Kimberly Coleman

Multiple Membership Levels Per User with PMPro (The Workarounds) By Jason Coleman

Have All Members Expire on a Set Date By Jason Coleman