#36088 closed enhancement (duplicate)
Filter for `post_meta`
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Options, Meta APIs | Keywords: | |
Focuses: | Cc: |
Description
I think that post meta should have filter for return value.
Attachments (1)
Change History (5)
#1
@
9 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
#2
@
9 years ago
- Resolution wontfix deleted
- Status changed from closed to reopened
I think that my filter is other that get_{$meta_type}_metadata - My filter exist post meta but this filter return value if I set value in filter. In your filter I can't check value for example how I can change meta value for "test" if value is "now" ?
Note: See
TracTickets for help on using
tickets.
Hi @sebastian.pisula. A
get_{$meta_type}_metadata
filter is already available that allows for filtering all types of meta rather than just posts. This should provide the same filtering capabilities as the suggested new filter.