carbon-fields icon indicating copy to clipboard operation
carbon-fields copied to clipboard

Theme Options | load default settings button ?

Open zavaremre opened this issue 8 years ago • 2 comments

Version

  • Carbon Fields:2.2.0
  • WordPress:4.9.4
  • PHP:

the default settings button image

Comments

Please add any other comments here

zavaremre avatar Mar 22 '18 20:03 zavaremre

That's a good idea! 😃

breath-ee avatar Apr 26 '18 15:04 breath-ee

Carbon Fields provides the set_default_value method which you can use for this purpose.

Adding a button to "Reset" or "Load Default Values" should be considered as an add-on, instead of bundling it as a core feature.

Feel free to write an add-on package which adds this functionality :-)

Thanks!

jorostoyanov avatar Mar 23 '21 12:03 jorostoyanov