Fires before the Filter button on the Posts and Pages list tables.
$post_typestring$whichstringwp-admin/includes/class-wp-media-list-table.php:215WP_Media_List_Table::extra_tablenav()wp-admin/includes/class-wp-posts-list-table.php:594WP_Posts_List_Table::extra_tablenav() * * @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. */ do_action( 'restrict_manage_posts', $this->screen->post_type, $which ); $output = ob_get_clean(); if ( ! empty( $output ) ) { echo $output; submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.