Add parameter and return descriptions to the `WP_List_Table::get_pagination_arg()` DocBlock.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30225 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-11-04 15:54:50 +00:00
parent 73a79a8160
commit ecec9d3595
1 changed files with 4 additions and 3 deletions

View File

@ -247,13 +247,14 @@ class WP_List_Table {
}
/**
* Access the pagination args
* Access the pagination args.
*
* @since 3.1.0
* @access public
*
* @param string $key
* @return int
* @param string $key Pagination argument to retrieve. Common values include 'total_items',
* 'total_pages', 'per_page', or 'infinite_scroll'.
* @return int Number of items that correspond to the given pagination argument.
*/
public function get_pagination_arg( $key ) {
if ( 'page' == $key )