WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 2 years ago

#21944 closed enhancement

Allow changing the parameters for built-in post types — at Version 1

Reported by: scribu Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: Cc:

Description (last modified by scribu)

Currently, it's really hard to change a single aspect of the built-in post types.

As shown in 3:ticket:21943, users are reverting to all sorts of ugly workarounds.

What's needed is a filter for the args array, before any processing is done inside register_post_type().

Change History (2)

comment:1 @scribu3 years ago

  • Description modified (diff)

@scribu3 years ago

Note: See TracTickets for help on using tickets.