Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#41769 new feature request

Custom function to display all values of a custom field (meta_key)

Reported by: mireillesan's profile mireillesan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords:
Focuses: Cc:


If possible, add an extra function where we can list all values of a certain custom field (meta_key).

All functions I've found so far is only post id related (e.g get_post_custom_values, etc).

While any developer can build this themselves, I do think other wp users could benefit from it as well if it's simly part of the core.


Change History (3)

#1 @SergeyBiryukov
7 years ago

  • Component changed from General to Options, Meta APIs

#2 @mireillesan
7 years ago

To extend the function, also add a parameter that the results can be limited to posttypes and/or taxonomies.

#3 @johnbillion
7 years ago

  • Type changed from enhancement to feature request
  • Version 4.8.1 deleted
Note: See TracTickets for help on using tickets.