• I am creating a settings/option page using the API. I’ve looked at a couple of approaches.

    One of my “options” is a small class that uses a number of form fields to obtain it’s values.

    I can write and retrieve such an object to my post meta data easily enough, but can find no way of using the settings API do do this as it seems to bind properties more or less 1 to 1 with options.

    myClass
    property foo (e.g. some other class)
    property bar (e.g. boolean)

    What am I missing?
    Is there a hook to intercept the default save behaviour?

  • The topic ‘Saving Object/class to options’ is closed to new replies.