WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about restrict_manage_posts

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/class-wp-posts-list-table.php do_action 589 /**
* 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.
*
* @since 2.1.0
* @since 4.4.0 The `$post_type` parameter was added.
* @since 4.6.0 The `$which` parameter was added.
*
* @param string $post_type The post type slug.
* @param string $which The location of the extra table nav markup:
* 'top' or 'bottom' for WP_Posts_List_Table,
* 'bar' for WP_Media_List_Table.
*/
wp-admin/includes/class-wp-media-list-table.php do_action 213 /**
* @param string $which
*/

Hook Parameters

Parameter Type Name Description
string $post_type The post type slug.
string $which The location of the extra table nav markup: