/** * We need to override the default get_save_success_message method for cases when they are disconnecting or switching auth methods. * Be sure to call parent::get_save_success_message() at the end. */ public function get_save_success_message($sections) { if ($this->is_switch()) { return __('Switched authentication method.', 'gfeloqua'); } if ($this->is_disconnect()) { return __('Your connection settings have been removed.', 'gfeloqua'); } return parent::get_save_success_message($sections); }