[wp-trac] [WordPress Trac] #36088: Filter for `post_meta`

WordPress Trac noreply at wordpress.org
Fri Mar 4 16:51:05 UTC 2016


#36088: Filter for `post_meta`
-------------------------------+----------------------
 Reporter:  sebastian.pisula   |       Owner:
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  wontfix
 Keywords:                     |     Focuses:
-------------------------------+----------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Hi @sebastian.pisula. A `get_{$meta_type}_metadata` filter is already
 [https://developer.wordpress.org/reference/hooks/get_meta_type_metadata/
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36088#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list