WordPress开发者和主题制作者的搜索引擎



additional_capabilities_display ›

Since2.8.0
已弃用n/a
apply_filters( 'additional_capabilities_display', true, $profileuser )
参数: (2)
  • (bool) $enable Whether to display the capabilities. Default true.
    Required: Yes
  • (WP_User) $profileuser The current WP_User object.
    Required: Yes
定义在:
文档:

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.





Related Hooks:

源码

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