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)
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>'; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |