• Resolved sherwin_flight

    (@sherwin_flight)


    I’ve used the Better Notifications plugin to create some custom notifications for my site. Basically I’ve created a custom post type of “custom_notification” and use BNWP to send a notification when a new post of that type is published.

    When we need to send a notification we have a function that creates a new post of “custom_notification” post type, and a notification is sent right away. Since we don’t need to store those notification, the function that creates the notification CPT also deletes any custom_notification posts that were created more than 1 minute ago.

    The problem is sometimes the notifications are sent twice, even though the custom_notification post is only created once.

    Are there any known issues or scenarios where a notification would be sent twice for a single publish action?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duplicate notifications back to back’ is closed to new replies.