WP_Links_List_Table::get_columns() WordPress Method

The WP_Links_List_Table::get_columns() method is used to get the columns for the links list table.

WP_Links_List_Table::get_columns() #


Return

(array)


Top ↑

Source

File: wp-admin/includes/class-wp-links-list-table.php

130
131
132
133
134
135
136
137
138
139
140
public function get_columns() {
    return array(
        'cb'         => '<input type="checkbox" />',
        'name'       => _x( 'Name', 'link name' ),
        'url'        => __( 'URL' ),
        'categories' => __( 'Categories' ),
        'rel'        => __( 'Relationship' ),
        'visible'    => __( 'Visible' ),
        'rating'     => __( 'Rating' ),
    );
}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by the Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.