Plugin development: can’t update settings with multiple settings sections

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

Read More

Here’s a screenshot of the Options page:
enter image description here

I’m sure the answer is staring me in the face, but I need some help looking in the right place.

Related posts

1 comment

  1. I figured it out. I needed to have a single value for $option_group across all register_settings and settings_fields. It’s working now.

Comments are closed.