Make WordPress Core

Changeset 30225


Ignore:
Timestamp:
11/04/2014 03:54:50 PM (10 years ago)
Author:
DrewAPicture
Message:

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

See #30224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r30169 r30225  
    248248
    249249    /**
    250      * Access the pagination args
    251      *
    252      * @since 3.1.0
    253      * @access public
    254      *
    255      * @param string $key
    256      * @return int
     250     * Access the pagination args.
     251     *
     252     * @since 3.1.0
     253     * @access public
     254     *
     255     * @param string $key Pagination argument to retrieve. Common values include 'total_items',
     256     *                    'total_pages', 'per_page', or 'infinite_scroll'.
     257     * @return int Number of items that correspond to the given pagination argument.
    257258     */
    258259    public function get_pagination_arg( $key ) {
Note: See TracChangeset for help on using the changeset viewer.