[wp-trac] [WordPress Trac] #17447: Add 'register_post_type_args' hook (was: Add register_post_type and pre_register_post_type hooks)

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 17 22:07:32 UTC 2012


#17447: Add 'register_post_type_args' hook
------------------------------------------------+--------------------------
 Reporter:  mikeschinkel                        |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Post Types                          |  Review
 Severity:  normal                              |     Version:  3.1
 Keywords:  has-patch dev-feedback 2nd-opinion  |  Resolution:
------------------------------------------------+--------------------------

Comment (by mikeschinkel):

 Replying to [comment:6 SergeyBiryukov]:
 > `registered_post_type` and `registered_taxonomy` were added in [18833].

 Those are great, thanks.

 But the real reason for my request here is the get hook-based access to
 the args so I'm going to change the title of this ticket and to add the
 patch I'd like to see.

 This patch would allow a plugin to disable some of the the default
 processing in register_post_type() and replace it with its own.

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


More information about the wp-trac mailing list