Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#22818 closed enhancement (duplicate)

Add filter to register_post_type $args list

Reported by: maxaud's profile maxaud Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: 2nd-opinion
Focuses: Cc:


The ability to filter register_post_type args list would be nice. Some plugins and themes add custom post types with horrible named slugs (ex:<post_title>).

I currently don't see a way to modify the rewrite argument to add a customized slug.

Change History (2)

#1 @scribu
11 years ago

  • Keywords 2nd-opinion added

I suggested something similar in #21944.

Not sure if it would make sense to add it for custom post types only.

Last edited 11 years ago by scribu (previous) (diff)

#2 @scribu
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.