I’ve got my plugin options set up to be in multiple sections, for ease of use and more efficient database calls. However, since reorganizing my Options page I can only seem so save changes made in the last section. No changes I make to earlier sections take effect.
The code for the admin options page is here: https://github.com/cconover/wp-author-customization/blob/master/author-customization/admin/author-customization-admin.php
Here’s a screenshot of the Options page:
I’m sure the answer is staring me in the face, but I need some help looking in the right place.
I figured it out. I needed to have a single value for
$option_group
across allregister_settings
andsettings_fields
. It’s working now.