apply_filters( 'additional_capabilities_display', bool $enable, WP_User $profileuser )
Filters whether to display additional capabilities for the user.
Description
The ‘Additional Capabilities’ section will only be enabled if the number of the user’s capabilities exceeds their number of roles.
Parameters
Source
File: wp-admin/user-edit.php
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/additional_capabilities_display