Un motore di ricerca WordPress per sviluppatori e autori di temi



additional_capabilities_display ›

Da2.8.0
Deprecaton/a
apply_filters( 'additional_capabilities_display', true, $profileuser )
Parametri: (2)
  • (bool) $enable Whether to display the capabilities. Default true.
    Richiesto:
  • (WP_User) $profileuser The current WP_User object.
    Richiesto:
Definito a:
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.





Hooks correlati:

Sorgenti

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