[wp-trac] [WordPress Trac] #58925: Settings API: Add way to remove fields added via add_settings_field().

WordPress Trac noreply at wordpress.org
Thu Jul 27 16:18:45 UTC 2023


#58925: Settings API: Add way to remove fields added via add_settings_field().
----------------------------+-----------------------------
 Reporter:  dcavins         |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  6.2.2
 Severity:  normal          |   Keywords:  has-patch
  Focuses:                  |
----------------------------+-----------------------------
 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.

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


More information about the wp-trac mailing list