I want to give access to a url in wp-admin for a user role which has only read access

I defined a user role in wordpress
add_role( ‘custom_role’, ‘Custom Role’, array( ‘read’ => true) );

I want to give that users access to blow url.

www.site.com//wp-admin/admin.php?page=car-quote&quote_id=16

Note :
User has custom_role should only access to the give page

Please help me to find how to do it.
I found several articles to disallow access but couldn’t find a article access allowing

Thanks a lot

Read more here: I want to give access to a url in wp-admin for a user role which has only read access

Leave a Reply

Your email address will not be published. Required fields are marked *