WordPress.org

Ready to get started?Download WordPress

Forums

Admin Page Framework
[resolved] Updated documentation (3 posts)

  1. haydenjameslee
    Member
    Posted 1 year ago #

    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/

  2. miunosoft
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. miunosoft
    Member
    Plugin Author

    Posted 11 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.