WordPress at Your Fingertips
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.


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

	return $enable;
Whether to display the capabilities.
Default: true
The current WP_User object.

Where the hook is called

In file: /wp-admin/user-edit.php
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.