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
78 stars 42 forks source link

How to set onesignal-staging env value for staging site? #314

Open kincjf opened 1 year ago

kincjf commented 1 year ago

How can we help?

Hello, I have installed and used the onesignal wordpress plugin.

After cloning the original site using the staging plug-in, we are developing a method of pushing to the original site when the staging site development is complete.

I want to link the onesignal-staging app project to the staging site,

define( 'ONESIGNAL_APP_ID', 'onesignal-staging-app' );

Is there a way to specify a config value for onesignal staging in the wp-config.php file like this? Or is there any other recommended method for handling staging onesignal env?

Code of Conduct