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

WordPress Trac noreply at wordpress.org
Mon Feb 10 04:05:51 UTC 2014


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

Comment (by nickciske):

 I for one never imagined this would apply to built in post types -- just
 post types added by plugins and (shudder) themes.

 I'm not tied to a specific implementation -- more the idea that the plugin
 that registers a post type is not necessarily the final word and other
 plugins should be able to tweak/extend an already registered post type.
 The discrete approach sounds like more work but probably his the better
 route - filter the data upon "read" versus on "write".

 I'd love to contribute to this - it would be my first "code" contribution
 to core ;-)

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


More information about the wp-trac mailing list