I have created a plugin into my local WordPress site. When I login into Admin section as an Admin/Editor/Author, I am able to access the plugin. But, when I login as a subscriber I cannot access it.
My Question: How can I make my custom plugin accessible for subscribers?
My efforts: I have looked into map_meta_cap()
function of Wordpress but I was not able to make it work.
Any help is appreciated. Thank you