Skip to content

Commit

Permalink
Merge branch 'AaronHolbrook-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezp committed Apr 16, 2019
2 parents 27d1e16 + 6a41b8b commit ba7fc08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onesignal-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,12 @@ 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) {
$onesignal_wp_settings = $settings;
update_option("OneSignalWPSetting", $onesignal_wp_settings);
}
}
?>
?>

0 comments on commit ba7fc08

Please sign in to comment.