Support » Plugins and Hacks » Admin Page Framework » Updated documentation

  • Resolved haydenjameslee

    (@haydenjameslee)


    Have been using your admin page framework and its awesome. Thanks a bunch for making and open sourcing it.

    Quick question. I noticed you updated the plugin lately and I couldn’t find any documentation on how to do the equivalent of AddFormSections() as I was currently using.

    Feel free to shoot through a question if you need more info.

    Cheers and thanks again,

    Hayden

    http://wordpress.org/plugins/admin-page-framework/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author miunosoft

    (@miunosoft)


    Thanks for the compliment!

    I noticed you updated the plugin lately and I couldn’t find any documentation on how to do the equivalent of AddFormSections() as I was currently using.

    It should be addSettingSections() and it does not accept the fields key any more to avoid deep indentations so you need to pass field arrays to the addSettingFields() method. I posted a simple example at Gist.

    The method names were changed to imply that they behave differently from AddFormSections() and AddFormFields(). However, this is just my personal decision and the method names can be discussed and changed as v2 has not been officially released.

    Also in v2, all the method names and array keys will use the camel-back notation.

    Plugin Author miunosoft

    (@miunosoft)


    Now v2 has been released and the documentation was updated as well.

    I’m going to mark this thread as resolved.

    If you need more code examples, feel free to ask.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Updated documentation’ is closed to new replies.