[wp-trac] [WordPress Trac] #53212: add post_type-specific version of the register_post_type_args filter

WordPress Trac noreply at wordpress.org
Sat May 15 00:00:05 UTC 2021


#53212: add post_type-specific version of the register_post_type_args filter
-------------------------------+------------------------------
 Reporter:  pbiron             |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------------------

Comment (by dlh):

 Having longed for a hook like this many times, I hope it won't blow the
 scope out of proportion to suggest that this effort might include a
 similar hook for after registration, and then equivalents of both hooks
 for taxonomies. So, object type-specific hooks for:

 * `register_post_type_args`
 * `registered_post_type`
 * `register_taxonomy_args`
 * `registered_taxonomy`

 The use case in the description seems to me to apply to each of these
 hooks not-infrequently.

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


More information about the wp-trac mailing list