How to use with custom roles?
-
I created a custom role called “Employee” with the following function.
/* Employee Role */ add_role( 'employee', __('Employee'), array( 'read' => true, ) );
This role is appearing in my conditions window but when I check it does not work.
The condition that I want to apply is: show menu when “User is logged in and User Role is Employee”
My conditional menu plugin is only working with the default wordpress roles such as “Editor, Subscriber, Author, etc.”
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to use with custom roles?’ is closed to new replies.