Browse the database of various hooks and filters available in Paid Memberships Pro. Select a hook or filter to view detailed information, examples, blog posts, and code recipes.


Show Hooks and Filters in:


pmpro_after_set_current_user

Action Hook: This hook executes custom code when setting the current user with the WordPress core function. For more information on this view the wp_set_current_user() function in the WordPress Codex.


pmpro_pages_shortcode_{pagename}

Filter Hook: Filters the HTML content generated by the PMPro page shortcodes such as [pmpro_checkout]. This can be used to create custom page templates in a customizations plugin as described¬†here. The pages are “account”, “billing”, “cancel”, “checkout”, “confirmation”, and “levels”.