[wp-trac] [WordPress Trac] #53212: add post_type-specific version of the register_post_type_args filter
WordPress Trac
noreply at wordpress.org
Mon Apr 11 05:10:10 UTC 2022
#53212: add post_type-specific version of the register_post_type_args filter
-------------------------------------------------+-------------------------
Reporter: pbiron | Owner: dlh
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.0
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: needs-dev-note needs-docs has-patch | Focuses:
has-unit-tests |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"53126" 53126]:
{{{
#!CommitTicketReference repository="" revision="53126"
Posts, Post Types/Taxonomies: Add object type specific registration
filters.
Add post type and taxonomy specific registration argument hooks.
Introduces the filters `register_{$post_type}_post_type_args` and
`register_{$taxonomy}_taxonomy_args`. Introduces the actions
`registered_post_type_{$post_type}` and `registered_taxonomy_{$taxonomy}`.
Props pbiron, dlh, davidbaumwald, hellofromTonya, milana_cap.
Fixes #53212.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53212#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list