You appear to be a bot. Output may be restricted
Description
Access the pagination args.
Usage
$int = BW_List_Table::get_pagination_arg( $key );
Parameters
- $key
- ( string ) required – Pagination argument to retrieve. Common values include 'total_items', 'total_pages', 'per_page', or 'infinite_scroll'.
Returns
int Number of items that correspond to the given pagination argument.Source
File name: oik/admin/class-bw-list-table.phpLines:
1 to 7 of 7
public function get_pagination_arg( $key ) { if ( 'page' == $key ) return $this->get_pagenum(); if ( isset( $this->_pagination_args[$key] ) ) return $this->_pagination_args[$key]; }View on GitHub View on Trac