diff --git a/onesignal-settings.php b/onesignal-settings.php index d30cdf6..3d60d69 100644 --- a/onesignal-settings.php +++ b/onesignal-settings.php @@ -263,7 +263,7 @@ public static function get_onesignal_settings() { } } - return $onesignal_wp_settings; + return apply_filters( 'onesignal_get_settings', $onesignal_wp_settings ); } public static function save_onesignal_settings($settings) { @@ -271,4 +271,4 @@ public static function save_onesignal_settings($settings) { update_option("OneSignalWPSetting", $onesignal_wp_settings); } } -?> \ No newline at end of file +?>