Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/user-edit.php | apply_filters | 864 | /** * 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. * * @since 2.8.0 * * @param bool $enable Whether to display the capabilities. Default true. * @param WP_User $profile_user The current WP_User object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $enable | Whether to display the capabilities. Default true. |
WP_User | $profile_user | The current WP_User object. |