WordPress filter hook · part of WordPress core

manage_users_custom_column

A WordPress core filter that 5 plugins also fire themselves, running on 119K+ sites between them.

“Filters the display output of custom columns in the Users list table.”

How to use manage_users_custom_column

It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'manage_users_custom_column', function( $value, $column_name, $ID ) {
	// Change $value here.
	return $value;
}, 10, 3 );

Argument names come from Allow Multiple Accounts's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

This hook is fired by WordPress core too. Official reference on developer.wordpress.org →

5 plugins that fire manage_users_custom_column

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Admin Columns icon Admin Columns100,000+ installs apply_filters( 'manage_users_custom_column', '', $column_id, $row_id ) classes/ListTable/User.php:21
  2. PublishPress Permissions: Access Control, Content Permissions, User Access icon PublishPress Permissions: Access Control, Content Permissions, User Access10,000+ installs apply_filters( 'manage_users_custom_column', '', 'pp_groups', $item->ID, ['table_obj' => $this] ) classes/PublishPress/Permissions/UI/UsersListTable.php:142
  3. Allow Multiple Accounts icon Allow Multiple Accounts9,000+ installs apply_filters( 'manage_users_custom_column', '', $column_name, $user_object->ID ) allow-multiple-accounts.php:819
  4. Court Reservation icon Court Reservation80+ installs apply_filters( 'manage_users_custom_column', '', $column_name, $user_object->ID ) admin/class-courtres-users.php:283
  5. Loyalty Points, Rewards and Cashback for WooCommerce icon Loyalty Points, Rewards and Cashback for WooCommerceFewer than 10 installs apply_filters( 'manage_users_custom_column', '', 'yalt_loyalty', $id ) scripts/test-merchant-tools.php:1354

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.