Add extra PMPro-related pages used by add ons or other customizations. A new dropdown is added to the Memberships -> Page Settings tab of the PMPro settings to allow admins to set the page, and the page’s post_id will be made available in the $pmpro_pages global variable.

The filter should take an array as the one parameter and add elements to it where the key is a unique name for the page (a slug) and the value is a readable label for the page (a title).


apply_filters('pmpro_extra_page_settings', array());

Parameters

array (array())

Source

View in Source Code