[wp-trac] [WordPress Trac] #24726: New filter hook for get_metadata()

WordPress Trac noreply at wordpress.org
Tue May 19 22:06:24 UTC 2015


#24726: New filter hook for get_metadata()
--------------------------------+------------------------------
 Reporter:  JD55                |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+------------------------------

Comment (by MikeHansenMe):

 @jtsternberg, couldn't you just hook on get_{$meta_type}_metadata and
 check the meta_key that is passed in? Seems to accomplish the same without
 the additional filter.

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


More information about the wp-trac mailing list