[wp-hackers] Overriding Existing Post Types

scribu scribu at gmail.com
Mon Jun 21 21:18:16 UTC 2010


On Mon, Jun 21, 2010 at 11:58 PM, Lox <lox.dev at knc.nc> wrote:

> 2010/6/22 Thomas Belknap <dragonfly at dragonflyeye.net>:
> > I'm sure I've just missed the conversation, but is it possible with the
> new
> > Custom Post Type API to override existing post types? Or would there be a
> > better way to strip out a lot of the extra stuff (meta, revisions, ect)
> from
> > the UI for users?
>

You can just re-register the 'post' post type, overwriting the arguments
found in create_initial_post_types() in wp-includes/post.php


-- 
http://scribu.net


More information about the wp-hackers mailing list