/** * Get default setting values * * @return array */ public function get_defaults() { return Smarter_Browser_Warning::get_defaults(); }
/** * Short Description. (use period) * * Long Description. * * @since 1.0.0 */ public static function activate() { if (!get_option('smarter_browser_warning', false)) { add_option('smarter_browser_warning', Smarter_Browser_Warning::get_defaults()); } }