Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Why URE restricted role when it is clearly given permission (on Submenu)? › Reply To: Why URE restricted role when it is clearly given permission (on Submenu)?
28/07/2016 at 06:06
#2586
James Wee
Participant
Oh damn, I did! I set the “Capability Type” in CPTUI with camelcase. Changing it now.
BTW. Is it a WordPress requirement for have both the capabilities below in order for View and Create to work?
edit_posttypename (edit.php)
create_posttypename (post-new.php)
Because I just created a new submenu called Programmes with Foundation, Diploma, Degree, Postgrad and it just kinda bugs me to create 4 edit.php and hide 4 post-new.php