WP_MS_Users_List_Table::column_default()publicWP 4.3.0

Handles the default column output.

Method of the class: WP_MS_Users_List_Table{}

Hooks from the method

Return

null. Nothing.

Usage

$WP_MS_Users_List_Table = new WP_MS_Users_List_Table();
$WP_MS_Users_List_Table->column_default( $item, $column_name );
$item(WP_User) (required)
The current WP_User object.
$column_name(string) (required)
The current column name.

Changelog

Since 4.3.0 Introduced.
Since 5.9.0 Renamed $user to $item to match parent class for PHP 8 named parameter support.

WP_MS_Users_List_Table::column_default() code WP 6.1.1

public function column_default( $item, $column_name ) {
	/** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */
	echo apply_filters(
		'manage_users_custom_column',
		'', // Custom column output. Default empty.
		$column_name,
		$item->ID // User ID.
	);
}