Make WordPress Core


Ignore:
Timestamp:
11/14/2020 04:52:25 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing descriptions for _WP_List_Table_Compat methods.

Props johannadevos, SaeedFard, swissspidy, desrosj, SergeyBiryukov.
Fixes #46842.

File:
1 edited

Legend:

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

    r42343 r49599  
    99
    1010/**
    11  * Helper class to be used only by back compat functions
     11 * Helper class to be used only by back compat functions.
    1212 *
    1313 * @since 3.1.0
     
    1717    public $_columns;
    1818
     19    /**
     20     * Constructor.
     21     *
     22     * @since 3.1.0
     23     *
     24     * @param string|WP_Screen $screen  The screen hook name or screen object.
     25     * @param string[]         $columns An array of columns with column IDs as the keys
     26     *                                  and translated column names as the values.
     27     */
    1928    public function __construct( $screen, $columns = array() ) {
    2029        if ( is_string( $screen ) ) {
     
    3140
    3241    /**
     42     * Gets a list of all, hidden, and sortable columns.
     43     *
     44     * @since 3.1.0
     45     *
    3346     * @return array
    3447     */
     
    4356
    4457    /**
     58     * Gets a list of columns.
     59     *
     60     * @since 3.1.0
     61     *
    4562     * @return array
    4663     */
Note: See TracChangeset for help on using the changeset viewer.