OneSignal / OneSignal-WordPress-Plugin

OneSignal is a free push notification service for web and mobile apps. This plugin makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Other
80 stars 42 forks source link

How to hook into OneSignal plugin in order to hide metabox for published article #213

Closed albanleandri closed 5 years ago

albanleandri commented 5 years ago

Hi, Been looking into the doc for that but not sure how to do it. I am trying to keep the metabox OneSignal only for draft articles, not yet published. That means I want to alter the plugin to hide it on any post that is already published, so no notification can ever been sent mistakenly on post updates. In my opinion, this should be part of settings, to accomodate authors and editors workflow amd avoid misuse.

Can the plugin author explain me how to do that? Thanks

rgomezp commented 5 years ago

Thanks for your suggestion. The original author is no longer available for an explanation. We will mark this as a feature request and track it internally. Cheers