WebMaestroFr / wm-settings

Based on the WordPress Settings API, this class generates options pages. It supports all basic input types, selects and all, but also media uploads, which is quite neat.
http://webmaestro.fr/wordpress-settings-api-options-pages/
21 stars 2 forks source link

Default values for settings #3

Closed sixtyseven-multimedia closed 9 years ago

sixtyseven-multimedia commented 9 years ago

The more I work with your class, the better I like it, thanks again for givng this to the community.

Could you give me a hint, how I could populate the settings fields with default values that I can provide with my plugin?

WebMaestroFr commented 9 years ago

You are welcome !

There is a 'default' parameter for each field, it is probably what you are looking for.

sixtyseven-multimedia commented 9 years ago

Indeed, I found it, sorry to bother you.

WebMaestroFr commented 9 years ago

No problem.