WP_MS_Users_List_Table::_column_blogs() WordPress Method

The WP_MS_Users_List_Table::_column_blogs() method displays the number of blogs a user has created in a multisite installation.

WP_MS_Users_List_Table::_column_blogs( WP_User $user, string $classes, string $data, string $primary ) #


Parameters

$user

(WP_User)(Required)

$classes

(string)(Required)

$data

(string)(Required)

$primary

(string)(Required)


Top ↑

Source

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

	protected function _column_blogs( $user, $classes, $data, $primary ) {
		echo '<td class="', $classes, ' has-row-actions" ', $data, '>';
		echo $this->column_blogs( $user );
		echo $this->handle_row_actions( $user, 'blogs', $primary );
		echo '</td>';
	}


Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

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.