I’m looking to hide most options from within the MainWP dashboard for one particular role only.
Role: mainwp_limitedadministrator
I followed the instructions on the below URL, but have ran into some issues with it working for one role only - managed to get it working without the IF role function.
Could someone please help me with coding the role and hiding the below options?
I did list the role name above “mainwp_limitedadministrator”.
It’s a custom WP role that I created for limited access to the Wordpress admin, but I am sure you can test with any non-administrator role for the same?