

Disable the "Green" notification message (true to disable)ĭefine( 'WPDSA_NOTIFICATION_DISABLE_GREEN', true ) įollow this link to download a complete example of mu-plugin file Define the notification message image (string - absolute link to an online image)ĭefine( 'WPDSA_NOTIFICATION_MESSAGE_IMAGE', '' ) Define the notification message footer text (string)ĭefine( 'WPDSA_NOTIFICATION_MESSAGE_FOOTER', 'My message footer text' ) Define the notification message title text (string)ĭefine( 'WPDSA_NOTIFICATION_MESSAGE_TITLE', 'My message title' )

Define the notification bot name (string - slugified)ĭefine( 'WPDSA_NOTIFICATION_BOTNAME', 'My_bot_name' )

Define the Slack notification recurrence (string - accepted values: '0,5', '1', '2', '6', '24', 'anytime')ĭefine( 'WPDSA_NOTIFICATION_RECURRENCE', '2' ) Disable the notification email (true to disable)ĭefine( 'WPDSA_NOTIFICATION_DISABLE_EMAIL', true ) Define the notification channel (string - slugified)ĭefine( 'WPDSA_NOTIFICATION_CHANNEL', 'my_slack_channel' ) To programmatically define your settings, you can optionally use the following PHP constants, in a customized mu-plugin: // Disable the admin settings screen (false to disable)ĭefine( 'WPDSA_NOTIFICATION_TOKEN', 'qcsqkjcssjcksqh' )
#Slack install screen how to#
How to programmatically define the plugin settings using PHP constants?
