WordPress at Your Fingertips
function is not described

WP_Media_List_Table::extra_tablenav() protected WP 1.0

{} It's a method of the class: WP_Media_List_Table{}

Hooks from the method

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->extra_tablenav( $which );
$which(string) (required)
-

Code of WP_Media_List_Table::extra_tablenav() WP 5.8.2

<?php
protected function extra_tablenav( $which ) {
	if ( 'bar' !== $which ) {
		return;
	}
	?>
	<div class="actions">
		<?php
		if ( ! $this->is_trash ) {
			$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' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) );

		if ( $this->is_trash && $this->has_items()
			&& current_user_can( 'edit_others_posts' )
		) {
			submit_button( __( 'Empty Trash' ), 'apply', 'delete_all', false );
		}
		?>
	</div>
	<?php
}