You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.
Currently all settings on a page are saved in a single row in the options table. It would be nice to be able to save settings of a specific section to their own row.
This should be considered in the context of #13 and the REST API, for which it might be advantageous to be able to offer more machine-readable access to individual settings.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See #3 (comment)
Currently all settings on a page are saved in a single row in the options table. It would be nice to be able to save settings of a specific section to their own row.
Thoughts on how to do this:
is_option
argument for Sections. https://github.com/NateWr/simple-admin-pages/blob/master/classes/Library.class.php#L243option_name
argument for Settings based on whether the Page or Section should be used. https://github.com/NateWr/simple-admin-pages/blob/master/classes/Library.class.php#L268option_name
argument when outputting the input name for a Setting. https://github.com/NateWr/simple-admin-pages/blob/master/classes/AdminPageSetting.class.php#L251-L258The text was updated successfully, but these errors were encountered: