[wp-trac] [WordPress Trac] #61998: Proposal: Add `label` argument to `register_meta` function

WordPress Trac noreply at wordpress.org
Fri Sep 6 09:52:36 UTC 2024


#61998: Proposal: Add `label` argument to `register_meta` function
-----------------------------+-----------------------------
 Reporter:  santosguillamot  |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 With the introduction of Block Bindings, it is more common to see
 workflows where users need to see the custom fields that are available or
 connected. Right now, they are relying on the meta key, however, it has
 been reported many times that it feels too technical.

 I propose adding a label argument that can be passed to `register_meta`
 that serves as a human-readble name for the meta fields.

 Some examples of how it can improved the user experience can be found in
 this pull request: https://github.com/WordPress/gutenberg/pull/65099

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


More information about the wp-trac mailing list