Filters the HTML content generated by page shortcodes in Paid Memberships Pro. This filter can be used to create custom page templates in a customizations plugin as described in the frontend page templates customization docs.


The pages are “account”, “billing”, “cancel”, “checkout”, “confirmation”, and “levels”. Replace {pagename} with one of these values to filter the HTML content for that page.

apply_filters( 'pmpro_pages_shortcode_{pagename}', $temp_content );

Parameters

$temp_content
string; The full HTML content of the selected page template file

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/init.php

View in Source Code

Related Articles and Recipes

Load a Different Membership Checkout Template Based on the Page URL By Kimberly Coleman