2 thoughts on “User Roles who can access the admin.”
-
Having gone through the code, its in relation to this specific set:
$submenu[‘da-reactions’][30] = array(
‘ ‘ . __(‘Help’, ‘da-reactions’) . ”,
‘manage_options’,
‘https://www.da-reactions-plugin.com/knowledge-base/’,
array(‘target’ => ‘_blank’)
);Found in: da-reactions-premium/classes/DaReactions/Admin.php
I am pretty sure it’s because the capability restriction is not being loaded correctly, I remove it completely so to fix the conflict, it has removed the ‘help’ part of the menu but we have it running exactly how we would like.
If this could be fixed in an upcoming update it would be grand.
Adam
-
Thank you for your feedback, I guess that I will nest that instruction inside a block like this:
if (current_user_can( 'manage_options' )) { ....... }
Comments are closed.
Having gone through the code, its in relation to this specific set:
$submenu[‘da-reactions’][30] = array(
‘ ‘ . __(‘Help’, ‘da-reactions’) . ”,
‘manage_options’,
‘https://www.da-reactions-plugin.com/knowledge-base/’,
array(‘target’ => ‘_blank’)
);
Found in: da-reactions-premium/classes/DaReactions/Admin.php
I am pretty sure it’s because the capability restriction is not being loaded correctly, I remove it completely so to fix the conflict, it has removed the ‘help’ part of the menu but we have it running exactly how we would like.
If this could be fixed in an upcoming update it would be grand.
Adam
Thank you for your feedback, I guess that I will nest that instruction inside a block like this:
if (current_user_can( 'manage_options' )) { ....... }