Allow other user roles to access plugin functions

This is useful when you might want to give access to specific PMS pages to other users from your website, but you don’t want them to access your whole Dashboard.

In order to achieve this, 2 things are necessary:
* add this custom capability to their user role: pms_edit_capability
* add the same custom capability to your Administrator account

An easy way to assign this capability would be to use the Profile Builder Roles Editor functionality.  You can download the Free version of Profile Builder from here.

Payments and Members

To give access to the Payments and Members pages you need to use the following code:Array

Other pages

The above code can be modified in order to target other plugin pages as well:

  • pms-reports-page
  • pms-export-page
  • pms-settings-page
  • pms-addons-page
  • pms-basic-info-page

In the code, replace the existing entries or add another comma-separated entry in quotes, e.g.:  array( ‘pms-payments-page’, ‘pms-members-page’, ‘pms-reports-page’ )

Subscription Plans and Discount Codes

To give access to the Subscription Plans and Discount Codes pages, use the following code:Array

Export Functionality

If you’ve given access to a user role to view the Reports -> Export page, then in order for the “Generate CSV” functionality to actually work you will also need to add the following code:Array

Paid Member Subscriptions Pro

Accept (recurring) payments, create subscription plans and restrict content on your website. Easily setup a WordPress membership site using Paid Member Subscriptions.

Unlock PRO Features

Or download FREE version