php – How to create a User Role and give permission to only use Web Stories plugin?

Question

I want to create a new user role “Story Maker” with only the “Google Web Stories” plugin shown in the dashboard for the user to create and publish stories.

I don’t want the user to get access to any other thing other than the web stories plugin.

I’m new to PHP and would appreciate it if you could give me the right snippet to add to the functions.php file.

Thanks in advance.

0
Frankie 2 months 2023-02-02T10:01:28-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse