How to store accumulate multiple option values in a single array using Options_API

The problem is that I want to ACCUMULATE these options and store them
in the options database. Meaning I would be able to add multiple
records to the database, instead of only updating a single option.

For example, I need to store testimonials that will allow the user to
keep the name/testimonial for several different people (i.e. Brad’s
testimonial, Carrie’s Testimonial, etc), so the option would need the
ability to add multiple records.

What you’re describing is not an option, but rather a Custom Post Type.

So, don’t try to force custom content square peg into an option round hole. Instead, register a testimonial Custom Post Type.

Leave a Comment