/** * Loads all the settings from the database */ function getSettings() { $settings = get_option($this->plugin_slug); $defaults = SH_Crafty_Social_Buttons_Plugin::get_default_settings(); return wp_parse_args($settings, $defaults); }