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



show_network_site_users_add_new_form ›

Since3.1.0
已弃用n/a
apply_filters( 'show_network_site_users_add_new_form', true )
参数:
  • (bool) $bool Whether to show the Add New User form. Default true.
    Required: Yes
定义在:
文档:

Filters whether to show the Add New User form on the Multisite Users screen.





源码

if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) :