[wp-trac] [WordPress Trac] #34770: Add ability to put term meta UX/UI anywhere on term edit screen
WordPress Trac
noreply at wordpress.org
Mon Nov 23 16:36:44 UTC 2015
#34770: Add ability to put term meta UX/UI anywhere on term edit screen
--------------------------------+-----------------------------
Reporter: theMikeD | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: trunk
Severity: normal | Keywords:
Focuses: ui, administration |
--------------------------------+-----------------------------
Now that we have term meta it'd be great to be able to put a UX/UI element
anywhere on the page. By way of example, under "Name" would be a great
spot for "Plural name."
Browsing through `edit-tag-form.php` I see only the
`{$taxonomy}_edit_form_fields` action as a way to add items to the tag
edit screen. This limits us to putting term meta stuff at the end only,
which is what I'm addressing with this ticket.
I see two solutions. Either add `do_action` calls after each stock form
row, or put the form into an array instead of showing the HTML directly
and filter the array at the end. The second option is probably better.
Thoughts?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34770>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list