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

Add option to reset a single field in settings #174

Open
bozdoz opened this issue Sep 19, 2022 · 1 comment
Open

Add option to reset a single field in settings #174

bozdoz opened this issue Sep 19, 2022 · 1 comment

Comments

@bozdoz
Copy link
Owner

bozdoz commented Sep 19, 2022

Instead of the reset all button. Maybe ajax?

@hupe13
Copy link
Collaborator

hupe13 commented Sep 19, 2022

It is not a reset button, but a possibility, I use:

if ($setting != $option['default'] ) {
   echo __("Plugins Default:", "extensions-leaflet-map").' '. $option['default'] . '<br>';
}

or similar.

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

No branches or pull requests

2 participants