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



show_network_site_users_add_new_form › WordPress过滤钩子

Since3.1.0
已弃用n/a
› apply_filters( 'show_network_site_users_add_new_form', true )
参数:
  • () 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.

Note: While WordPress is moving towards simplifying labels by removing "New" from "Add New X" labels, we keep "Add New User" here to maintain a clear distinction from the "Add Existing User" section above.




源码

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