WordPress at a glance
filter is not described

additional_capabilities_display filter-hook . WP 2.8.0

Filters whether to display additional capabilities for the user.

The 'Additional Capabilities' section will only be enabled if the number of the user's capabilities exceeds their number of roles.

Usage

add_filter( 'additional_capabilities_display', 'filter_function_name_9575', 10, 2 );
function filter_function_name_9575( $enable, $profileuser ){
	// filter...

	return $enable;
}
$enable(true|false)
Whether to display the capabilities.
Default: true
$profileuser(WP_User)
The current WP_User object.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

In file: /wp-admin/user-edit.php
additional_capabilities_display
wp-admin/user-edit.php 839
&& apply_filters( 'additional_capabilities_display', true, $profileuser )

Where in WP core the hook is used WordPress

Usage not found.