WP_MS_Users_List_Table::column_default( WP_User $item, string $column_name )

Handles the default column output.


Parameters

$item

(WP_User) (Required) The current WP_User object.

$column_name

(string) (Required) The current column name.


Top ↑

Source

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

	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.
		);
	}


Top ↑

Changelog

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

Top ↑

User Contributed Notes

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