WP_MS_Sites_List_Table::get_sortable_columns(): array

In this article

Return

array

Source

protected function get_sortable_columns() {

	if ( is_subdomain_install() ) {
		$blogname_abbr         = __( 'Domain' );
		$blogname_orderby_text = __( 'Table ordered by Site Domain Name.' );
	} else {
		$blogname_abbr         = __( 'Path' );
		$blogname_orderby_text = __( 'Table ordered by Site Path.' );
	}

	return array(
		'blogname'    => array( 'blogname', false, $blogname_abbr, $blogname_orderby_text ),
		'lastupdated' => array( 'lastupdated', true, __( 'Last Updated' ), __( 'Table ordered by Last Updated.' ) ),
		'registered'  => array( 'blog_id', true, _x( 'Registered', 'site' ), __( 'Table ordered by Site Registered Date.' ), 'desc' ),
	);
}

User Contributed Notes

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