[wp-trac] [WordPress Trac] #14766: New Hooks for add / update / delete / get metadata in 3.1
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 2 17:33:44 UTC 2010
#14766: New Hooks for add / update / delete / get metadata in 3.1
-------------------------+--------------------------------------------------
Reporter: sc0ttkclark | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.0.1
Severity: normal | Keywords: metadata
-------------------------+--------------------------------------------------
I suggest adding new hooks for each of these functions. See the attached
patch for the changes I'm suggesting here. Please note, I'm using the
{ACTION}_{METATYPE}_metadata format for the filter names since some
actions are being applied with the {ACTION}_{METATYPE}_meta which would
cause conflicts.
What does this allow? This allows plugins to intercept this function and
return their own values and / or do their own functions for Post Types,
among the other data types.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14766>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list