[wp-trac] [WordPress Trac] #33551: Settings API: Filter sections and fields before displaying them

WordPress Trac noreply at wordpress.org
Wed Aug 26 06:08:49 UTC 2015


#33551: Settings API: Filter sections and fields before displaying them
--------------------------------+-----------------
 Reporter:  obenland            |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  4.4
Component:  Options, Meta APIs  |    Version:
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------
 Once a section or settings field was added, there is currently no good way
 to remove it or change the order they are displayed in. It would be good
 to add filters in `do_settings_section()` and `do_settings_fields()` to
 allow for that to happen.

 We could also think about providing convenience functions to use in a
 callback to those filters, along the lines of `remove_option_whitelist()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33551>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list