Administrator Access to PMPro Protected Content

plugin banner

Overrides the PMPro "Require Membership" settings and grants view access to any user assigned to the WordPress "Administrator" rol …

Author:eighty20results (profile at wordpress.org)
WordPress version required:4.8
WordPress version tested:5.5.5
Plugin version:1.3
Added to WordPress repository:25-09-2018
Last updated:16-09-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:2
Plugin URI:https://wordpress.org/plugins/administrator-a...
Total downloads:1 681
Active installs:100+
plugin download
Click to start download

By default Paid Memberships Pro will not let an administrator get access to a protected post or page without making the administrator a member of one of the membership levels that are required for that post/page in the “Require Membership” checkboxes in the post/page editor.

This is contrary to what a traditional interpretation of the “Administrator” role represents for WordPress (or any user based security system). People expect the administrator/root account(s) on the system to have full access to administer and view the content on the site.

This behavior also represents one of the frequent problems experienced when trying to use a WordPress front-end post or page editor; The expected content for the post/page being edited either doesn’t show up, or is being redirected away from.

This plugin will remove the PMPro access restrictions to content for any user assigned to the WordPress ‘administrator’ role.

As of version 1.2, the same functionality has been extended to the PMPro [membership] short code.
This plugin should be used with caution!

Credit

This plugin uses Unlock Hd Icon by Ahkâm – Copyright (c) Ahkâm
This plugin uses the logo by Paid Memberships Pro – Copyright (c) Stranger Studios, LLC

v1.3

  • REFACTOR: Updated to signify support for latest WordPress releases

v1.2

  • ENHANCEMENT: Add check override when using [membership] short code
  • BUG FIX: Didn’t guarantee false return when user isn’t logged in or not an admin

v1.1

  • BUG FIX: Didn’t prevent redirect(s) when accessing the Membership Account page

v1.0

  • Initial release of plugin