Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



additional_capabilities_display ›

Seit2.8.0
Veraltetn/v
apply_filters( 'additional_capabilities_display', true, $profileuser )
Parameter: (2)
  • (bool) $enable Whether to display the capabilities. Default true.
    Erforderlich: Ja
  • (WP_User) $profileuser The current WP_User object.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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