additional_capabilities_display

Advertisement

Summery Summery

Filters whether to display additional capabilities for the user.

Syntax Syntax

apply_filters( 'additional_capabilities_display', bool $enable, WP_User $profileuser )

Description Description

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

Parameters Parameters

$enable

(bool) Whether to display the capabilities. Default true.

$profileuser

(WP_User) The current WP_User object.

Source Source

File: wp-admin/user-edit.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.