Browse the database of various action and filter hooks available in Paid Memberships Pro. Select an action or filter to view detailed information, examples, and related articles with code recipes.
Show Action and Filter Hooks in:
Action Hook: This hook fires inside of the JS script tag returned by the applydiscountcode.php service. The hook can be used to do other PHP or JavaScript actions before sending the results of the discount code AJAX call to the client browser.
Filter Hook: This filter modifies the level given by a discount code. It passes the level object and the discount code ID.
Filter Hook: Include PayPal option for payment (default: true) or false for Website Payments Pro.