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

WordPress Trac noreply at wordpress.org
Thu Sep 3 07:34:04 UTC 2015


#17447: Add 'register_post_type_args' hook
-------------------------------+------------------
 Reporter:  mikeschinkel       |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  3.1
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------
Changes (by swissspidy):

 * keywords:  has-patch dev-feedback needs-docs needs-refresh => has-patch
 * milestone:  Future Release => 4.4


Comment:

 > I could also go for a "generic" filter if it bypasses things for built-
 ins.

 [attachment:17447.diff 17447.diff] is a refreshed version of the most
 recent patch after `register_post_type()` was moved to `wp-includes/post-
 functions.php`. Also includes a docblock for the filter.

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


More information about the wp-trac mailing list