Prevent plugin sending notifications to unregistered users

Question

I’m testing a little plugin for web push notifications. Problem is I don’t want ANY user of the website to be presented with the prompt where the site asks the user to agree to receive notifications: I only want to send notifications to registered users. Is there any way (a filter, for example) to make a specific plugin work only for registered users?

Any help is appreciated

0
Life after Guest 7 months 2023-07-29T09:00:49-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse