Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

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

    r45453 r46596  
    6767 * Register column headers for a particular screen.
    6868 *
     69 * @see get_column_headers(), print_column_headers(), get_hidden_columns()
     70 *
    6971 * @since 2.7.0
    7072 *
    71  * @param string $screen The handle for the screen to add help to. This is usually the hook name returned by the add_*_page() functions.
    72  * @param array $columns An array of columns with column IDs as the keys and translated column names as the values
    73  * @see get_column_headers(), print_column_headers(), get_hidden_columns()
     73 * @param string  $screen   The handle for the screen to add help to. This is usually the hook name returned by the
     74 *                          add_*_page() functions.
     75 * @param string[] $columns An array of columns with column IDs as the keys and translated column names as the values.
    7476 */
    7577function register_column_headers( $screen, $columns ) {
Note: See TracChangeset for help on using the changeset viewer.