You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does enabling Automatically send a push notification when I publish a post from 3rd party plugins apply to rest api?
i mean i use wp rest api create post endpoint, will onesignal send notification of it?
if answer is no then how can i make onesignal plugin to send notification when wp rest api create/update a published post?
I want notification to be sent when A post is created using a wp rest api
Steps to Reproduce Issue:
create a post using wp rest api (use postman for example)
check onesignal send notification when Automatically send a push notification when I publish a post from 3rd party plugins is enabled
Anything else:
NONE
The text was updated successfully, but these errors were encountered:
aneeskhan47
changed the title
Send Notification when WP REST API creates/updates post
How do I send a notification when a post is published through WP REST API?
Mar 10, 2021
Howdy @aneeskhan47 ,
Apologies for the delay. Did you figure it out?
I wasn't able to find any resources stating whether or not the REST API would trigger the transition post status which is what is needed to trigger the OneSignal push notification.
From what I gathered, it seems that it should work since the transition post status event would occur on publish. However, I would need to do some digging/testing to know for sure.
Description:
Hi,
Does enabling Automatically send a push notification when I publish a post from 3rd party plugins apply to rest api?
i mean i use wp rest api create post endpoint, will onesignal send notification of it?
if answer is no then how can i make onesignal plugin to send notification when wp rest api create/update a published post?
I want notification to be sent when A post is created using a wp rest api
Steps to Reproduce Issue:
Anything else:
NONE
The text was updated successfully, but these errors were encountered: