[wp-hackers] Adding parameters to add_meta_boxes_ . $post_type?

Simon Blackbourn piemanek at gmail.com
Sun Jun 27 18:53:35 UTC 2010


> I found out that you can attach arbitrary info directly to the post type
> object:
>
> register_post_type('example', array(
>  'foo' => array('bar')
> ));
>
>
>
didn't know about that one but could be useful - is it an intended behaviour
that i can safely start to make use of without fear it will cease to exist
in a future version, or just something that 'happens to work'?


More information about the wp-hackers mailing list