wordlift-plugin
wordlift-plugin copied to clipboard
OneSignal is sending push notifications of entities when an article is published
The plugin wordpress.org/plugins/onesignal-free-web-push-notifications sends out push notifications on the entities annotated on an article that gets published.
For instance, once the article below got published OneSignal also sent the notifications related to the tagged entities:
See https://github.com/OneSignal/OneSignal-WordPress-Plugin/issues/39 and https://github.com/OneSignal/OneSignal-WordPress-Plugin/issues/123.
In particular the customer may add
add_filter( 'onesignal_exclude_post', 'onesignal_exclude_post_filter', 10, 3 );
function onesignal_exclude_post_filter( $new_status, $old_status, $post ) {
return ( 'entity' === get_post_type( $post ) );
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.