Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push Notifications not working from Front-End Create Post Form #295

Open
Pengara opened this issue Aug 9, 2022 · 2 comments
Open

Push Notifications not working from Front-End Create Post Form #295

Pengara opened this issue Aug 9, 2022 · 2 comments

Comments

@Pengara
Copy link

Pengara commented Aug 9, 2022

I have the OneSignal WP Plugin is set up and working as expected for regular WP posts to send Push Notifications when posts are created in WP Admin.

I've tried implemented the code snippets described here so that the posts automatically send a notification: https://documentation.onesignal.com/docs/web-push-wordpress-faq#onesignal_meta_box_send_notification_checkbox_state-filter

I also have the plugin working for CPTs created using WP Admin so that when a new post is created or updated, a Push Notification is sent.

However, when using a front-end form to create posts that are automatically 'published' upon submitting, the posts are not sending push notifications. The posts are definitely showing up from the front-end form when checking for them in WP-Admin, both for regular WP Posts and my CPTs. When checking these, the box for send push notification in WP-Admin is checked but for whatever reason, any posts created using a front-end form are not sending the push notifications.

@sohaibMan
Copy link

hello, did you find a solution?

@1010048
Copy link

1010048 commented Apr 19, 2024

Hi. Were you able to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants