Make Settings::persist() returns the result of update_option()

This commit is contained in:
Jorge A. Torres 2021-02-04 10:09:24 -05:00
parent 202502a2f9
commit ef8fbf6b6a

View file

@ -69,7 +69,7 @@ class Settings implements ContainerInterface {
*/
public function persist() {
update_option( self::KEY, $this->settings );
return update_option( self::KEY, $this->settings );
}