restrict_manage_posts – action
Fires before the Filter button on the Posts and Pages list tables. The Filter button allows sorting by date and/or category on the Posts list table, and sorting by date on the Pages list table.
Parameters
- .
- ( 2.1.0 ) . .
- The
- ( 4.4.0 ) `$post_type` parameter was added. . . .
- The
- ( 4.6.0 ) `$which` parameter was added. . . .
- $post_type
- ( string ) The post type slug. . . .
- $which
- ( string ) The location of the extra table nav markup: ‘top’ or ‘bottom’ for WP_Posts_List_Table, ‘bar’ for WP_Media_List_Table. . . .