Action to execute custom code for a specific user ID and membership level after the expiration cron event has run.
do_action( 'pmpro_membership_post_membership_expiry', $e->user_id, $e->membership_id );
- int; The expiring user’s ID
- int; The expired user’s cancelled membership level ID
SourceView in Source Code
Related Articles and Recipes
Add a Grace Period to a Membership Level with PMPro By Travis Lima