WP_MS_Sites_List_Table::pagination() WordPress Method
The pagination method of the WP_MS_Sites_List_Table class is used to generate the pagination links for the site list table.
WP_MS_Sites_List_Table::pagination( string $which ) #
Contents
Parameters
- $which
(string)(Required)The location of the pagination nav markup: 'top' or 'bottom'.
Source
File: wp-admin/includes/class-wp-ms-sites-list-table.php
protected function pagination( $which ) {
global $mode;
parent::pagination( $which );
if ( 'top' === $which ) {
$this->view_switcher( $mode );
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub