Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a method to reset DB settings (4209) #3100

Merged
merged 10 commits into from
Feb 12, 2025

Conversation

stracker-phil
Copy link
Contributor

Description

Adds a new toggle to the "Disconnect" modal that allows merchants to optionally reset the plugin to its initial state.

Important: The reset is done, by deleting the settings items from the wp_options table!

  • The new toggle displays a short description of what will happen when clicking the disconnect-button
  • Introduced a new SettingsDataManager service that can purge a list of provided settings from the DB

CleanShot 2025-02-12 at 17 05 35

@Dinamiko Dinamiko merged commit 6eb5e9f into trunk Feb 12, 2025
0 of 6 checks passed
@Dinamiko Dinamiko deleted the PCP-4209-create-a-method-to-reset-db-settings branch February 12, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants