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

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 7 02:53:34 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 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.

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


More information about the wp-trac mailing list