How can I restrict OneSignal notification sending to specific user roles in WordPress?

[ad_1]

Hello,

I’ve set up a WordPress site where authors can publish content. I recently installed the OneSignal plugin to send notifications to subscribers.

However, I’ve noticed that all users can send notifications while creating a post. I’d like to restrict this feature to specific user roles.

​

https://preview.redd.it/l118hnklpnvc1.jpg?width=645&format=pjpg&auto=webp&s=522f1547f53559605dc517dce5c74b0e65970071

​

Could you please guide me on how to hide the OneSignal notification form from certain user roles?

Thank you for your assistance.

[ad_2]
1 Comment
  1. Unset the meta box if not specific user role or even email domains of users. Not terribly difficult.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer