[wp-trac] [WordPress Trac] #17447: Add 'register_post_type_args' hook

WordPress Trac noreply at wordpress.org
Sat Feb 8 11:09:58 UTC 2014


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

Comment (by helgatheviking):

 I also needed this today. Isnt' `do_action( 'registered_post_type',
 $post_type, $args );` too late? You are required to re-do some of the
 processing that `register_post_type()` does instead of modifying the
 `$args` at the beginning of the function.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17447#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list