[wp-trac] [WordPress Trac] #14206: Custom taxonomy meta box callback
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 6 02:39:03 UTC 2010
#14206: Custom taxonomy meta box callback
-------------------------+--------------------------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.0
Severity: normal | Keywords: dev-feedback
-------------------------+--------------------------------------------------
I'd like to be able to specify my own meta box function for my custom
taxonomies.
Currently if I want to specify my own meta box for my custom taxonomy, I
must set the `public` parameter to false and then add my own meta box
using `add_meta_box()`. It would be nice to just do this with a callback
function parameter in `register_taxonomy()`.
Example:
{{{
register_taxonomy( 'foo', 'bar', array(
'meta_box_callback' => 'my_meta_box'
) );
}}}
I'll write up a patch if there's a chance of it going in.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14206>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list