Grouping options?

[ad_1]

Hi guys! Right now I’ve added a widget onto the dashboard with fields to create a “product” through a form submission. I know I can retrieve this specific product’s submitted fields with get_options, but is there a way to go about submitting multiple “products” and retrieving each group and their fields with a foreach group or something? Are all the group names able to be the same?

I’m proficient with javascript but new to php so any help would be appreciated! Thanks!

[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