URL of the post also need to send as the data to notification
-
Currently sanitized post title & content only coming in the notification data as title & message to display in the notification.
But on clicking the notification, we need to fetch the specific post from API & display it to the user.
So that the post url likehttps://example.com/wp-json/wp/v2/posts/<post-id>
also needed or at least two other parameters liketype=post
,post_id=<post-id>
- The topic ‘URL of the post also need to send as the data to notification’ is closed to new replies.