[wp-hackers] only one settings_section per one custom settings page?
kkarpieszuk at gmail.com
Thu Apr 14 12:01:21 UTC 2011
ok i promise, to store in one array and i will change my code :)
but i am still curious: is it possible to this in way how i wanted? if
yes, but very complicated - please dont explain :) now this is
question which dont have to be answered
On Thu, Apr 14, 2011 at 1:41 PM, Otto <otto at ottodestruct.com> wrote:
> On Thu, Apr 14, 2011 at 5:17 AM, Konrad Karpieszuk
> <kkarpieszuk at gmail.com> wrote:
>> hello Chip
>> i read your tutorial (long but efficient!) and i understand that every
>> options from one options page i have to store in one array, yes? you
>> did it in this way, that option has name 'theme_oenology_options' and
>> every setting is array data inside this option (eg
>> ['header_nav_menu_position'] ).
>> this is the only way to that? cannot i store difffrent settings in
>> diffrent fields in database?
>> i ask beacause i am prepering to change my code to fill your rules.
>> but if i can omit to rearrange way how data is stored will be faster
> Storing all of your options in a single array is usually much, much
> faster than trying to store them all separately.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
(en) regards / (pl) pozdrawiam
More information about the wp-hackers