WP_Links_List_Table::get_sortable_columns(): array

In this article

Return

array

Source

protected function get_sortable_columns() {
	return array(
		'name'    => array( 'name', false, _x( 'Name', 'link name' ), __( 'Table ordered by Name.' ), 'asc' ),
		'url'     => array( 'url', false, __( 'URL' ), __( 'Table ordered by URL.' ) ),
		'visible' => array( 'visible', false, __( 'Visible' ), __( 'Table ordered by Visibility.' ) ),
		'rating'  => array( 'rating', false, __( 'Rating' ), __( 'Table ordered by Rating.' ) ),
	);
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.