WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#14154 new enhancement

Filters hook on the custom post type edit page

Reported by: firebird75 Owned by:
Milestone: Future Release Priority: low
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

It would be great to have some filters added on the custom post type edit page to be able to modify the queries associated to the following filters :

  • post count (mine, all, draft, published, trashed, etc...)
  • categories
  • dates

Basically, the issue right now is that if you modify the list of posts displayed to a user with the posts_where filter on the custom post type edit page, the post count, categories and dates filters won't be accurate anymore because there is no possibility to filter them as for the post list (or at least, I haven't found these).

Thanks!

Change History (4)

comment:1 scribu4 years ago

  • Priority changed from normal to low

comment:2 kevinB4 years ago

  • Cc kevinB added

comment:3 nacin3 years ago

  • Milestone changed from Awaiting Review to Future Release

comment:4 scribu3 years ago

As a workaround, you could hook into views_edit-{$post_type} and change the numbers from there.

Note: See TracTickets for help on using tickets.