I am trying to add a custom submenu on my wordpress plugin using below code, but this is only available for admins how can i add a sub menu for regular users?

add_action('admin_menu')

Read more here: How to add admin_menu for regular users on wordpress plugin


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: