wordpress fcm plugin not working on scheduled posts correctly
I am very new to wordpress/php, I don’t fully understand it yet.
So I’ve implemented firebase cloud messaging in a wordpress app and I am able to send push notifications with “FCM Push Notification from WP” plugin, and it also works with scheduled posts IF the admin panel is open when the scheduled post is due. Otherwise it will send the notification when I browse to the admin panel. I really don’t understand this code fully, but what could I do to make sure it runs even though I am not logged in as admin?
Any help would be really appreciated.