[wp-trac] [WordPress Trac] #9674: Better support for custom post types

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 7 03:19:36 UTC 2010


#9674: Better support for custom post types
------------------------------------+---------------------------------------
 Reporter:  wnorris                 |        Owner:  ryan    
     Type:  task (blessed)          |       Status:  reopened
 Priority:  normal                  |    Milestone:  3.0     
Component:  Administration          |      Version:  2.9     
 Severity:  normal                  |   Resolution:          
 Keywords:  has-patch tested early  |  
------------------------------------+---------------------------------------

Comment(by mikeschinkel):

 Replying to [comment:281 dd32]:
 > > > You can replace post_type's be adding it with new vars.
 > > I don't understand.
 >
 > if you call {{{register_post_type('post', array('new' => 'args'));}}}
 it'll completely override WordPress's internal 'post' post_type.

 Thanks for explaining.  So how do you remove a post type?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9674#comment:282>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list