pmpro_membership_content_filter

Filter to let other plugins change how PMPro filters member content. If anything other than false is returned, that value will overwrite the $content variable and no further processing is done in this function.

pmpro_search_filter_post_types

Allows you to add additional post types to the Memberships > Settings > Advanced Settings > “Filter Searches and Archives?” functionality.

pmpro_has_membership_access_filter

Use this hook to filter the membership access of a given post. This overrides the output of the pmpro_has_membership_access() function and returns the boolean true or false, the WP_Post object, the  WP_User object, and an array of the membership levels required for the post.

pmpro_has_membership_access_filter_{post_type}

Use this hook to filter the membership access of a given post by specific post type. This overrides the output of the pmpro_has_membership_access() function and returns the boolean true or false, the WP_Post object, the  WP_User object, and an array of the membership levels required for the post.

pmpro_rss_text_filter

Filters the message displayed when the post is viewed by in an RSS feed. By default, this is set to display the text configured on the Memberships > Advanced Settings page.

pmpro_not_logged_in_text_filter

Filters the message displayed when the post is viewed by a visitor who does not have a WordPress user account. By default, this is set to display the text configured on the Memberships > Settings > Advanced Settings page.