Home›Topic Tag: Controlling access to admin function
Topic Tag: Controlling access to admin function
Access plugin allows you to control administration capabilities in a WordPress site. You can create your own custom roles, set their permissions and choose exactly what sections different user roles can reach in the WordPress admin.
When you ask for help or report issues, make sure to tell us on which content and user types you are trying to apply access control.
Problem: I have applied Access Controls to User Field Groups, but the restrictions do not seem to be applied in front-end User Forms.
Solution: Access Control for User fields only applies in wp-admin. If you'd like to restrict access to specific content based on User roles, you can use Access Control shortcodes.
So to display different Forms to different User roles, you could do something like this:
You could do something similar directly inside the Form to show or hide input fields if you prefer to use one Form. You must use Expert Mode to edit the Form shortcodes. This example only shows these two fields to users in the role "role1":