[wp-hackers] Assigning Custom List Type to Custom Post Type (removing filter by post date)

John Blackbourn johnbillion+wp at gmail.com
Thu Aug 30 14:44:22 UTC 2012


On 30 August 2012 09:08, Lionel Pointet <lionel.pointet at globalis-ms.com> wrote:
> Tom,
>
> One way of doing it is to "hide" that filter (with CSS) or remove it with
> JS. Indeed, you can easily add an extra class to the body with
> 'admin_body_class' filter (depending on the $pagenow and $post_type global
> vars for example) to only target your CPT list.

I just remembered that's one of the reasons I opened this:
http://core.trac.wordpress.org/ticket/19247


More information about the wp-hackers mailing list