[wp-hackers] Meta field plugin hook

Owen Winkler ringmaster at midnightcircus.com
Wed Jul 7 16:20:07 UTC 2004


If I use the meta key "sticky" to mark a sticky post, I may want to
prevent that meta record from appearing in the default meta display.
Alternatively, I may want to replace the default text editor with an
editor of my own.

My suggestion is to add a new filter hook for the meta editor output
that allows plugins to alter the display of a specified meta key.  The
value passed as the parameter to the plugin function could be the key
name.  If any value is returned, it could be placed within a colspan=4
table cell instead of the standard content.

I'm sure that a similar filter hook should be added to the_meta() to
prevent these "reserved" keys from appearing in the output.

Owen





More information about the hackers mailing list