#58925 closed enhancement (duplicate)
Settings API: Add way to remove fields added via add_settings_field().
| Reported by: | dcavins | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
It doesn't appear that the Settings API offers a built-in way to remove fields added using add_settings_field(). It is possible to deregister settings using unregister_setting(), but the field markup will still be written.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds remove_settings_field() function