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)
Source
File: wp-admin/includes/class-wp-links-list-table.php
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' ),
);
}
Expand full source codeCollapse full source codeView on TracView on GitHub