restrict_manage_posts, $this->screen->post_type, $which
restrict_manage_posts, $this->screen->post_type, $which
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('restrict_manage_posts, $this->screen->post_type, $which') is found 2 times:
- /wp-admin/includes/class-wp-media-list-table.php line 243
$this->months_dropdown( 'attachment' ); } /** This action is documented in wp-admin/includes/class-wp-posts-list-table.php */ do_action( 'restrict_manage_posts', $this->screen->post_type, $which ); submit_button( __( 'Filter' ), 'button-compact', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); if ( $this->is_trash && $this->has_items() && current_user_can( 'edit_others_posts' ) ) { - /wp-admin/includes/class-wp-posts-list-table.php line 593
* @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' ), 'button-compact', 'filter_action', false, array( 'id' => 'post-query-submit' ) );