show_network_site_users_add_new_form filter-hookWP 3.1.0

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

Usage

add_filter( 'show_network_site_users_add_new_form', 'wp_kama_show_network_site_users_add_new_form_filter' );
function wp_kama_show_network_site_users_add_new_form_filter( $bool ){
	// filter...

	return $bool;
}
$bool(true|false)
Whether to show the Add New User form.
Default: true

Changelog

Since 3.1.0 Introduced.

Where the hook is called

In file: /wp-admin/network/site-users.php
show_network_site_users_add_new_form
wp-admin/network/site-users.php 331
if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) :

Where the hook is used in WordPress

Usage not found.