Fill metabox dropdown with user defined values

[ad_1]

Hi, I’m pretty new to wordpress, so sorry if it’s a trivial question.

I have a metabox with a dropdown and I would like it to display values “added” by user. I imagine it would be something like a button under the metabox saying “Add new value” and the user can either choose one of the values he defined earlier or click this button and add a new one. With the option to remove them too.

My question is, where do I store the values for the dropdown? And is there an easier way to go about this?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer