WordPress.org

Ready to get started?Download WordPress

Forums

[RFE] Admin's page should use Settings API (or similar) (1 post)

  1. adiGuba
    Member
    Posted 5 years ago #

    Hello,

    (sorry for my poor english - this is not my spoken language)

    WordPress 2.7 introduced the Settings API for inserting settings into the existing WordPress settings panels. This was great for adding plugin's specific setting on the wp standard admin's page.

    But I encountered the opposite problem : I would like to remove some fields/sections from the standard admin's page.

    • Add remove_settings_field() and remove_settings_section() to Settings API in order to allow removing an existant field/section
    • Admin's page should use the Settings API to generate themselves.
    • Add an action hook 'setting_done_for_{admin_page}', executed after that the standard field/section will be added

    This will allow a better customization of admin's pages, which is particularly useful with WordPress MU...

    Thanks for reading...

Topic Closed

This topic has been closed to new replies.

About this Topic