A WordPress-centric search engine for devs and theme authors



additional_capabilities_display ›

Since2.8.0
Deprecatedn/a
apply_filters( 'additional_capabilities_display', true, $profileuser )
Parameters: (2)
  • (bool) $enable Whether to display the capabilities. Default true.
    Required: Yes
  • (WP_User) $profileuser The current WP_User object.
    Required: Yes
Defined at:
Codex:

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.





Source

&& apply_filters( 'additional_capabilities_display', true, $profileuser )