WordPress at a glance
function is not described

check_import_new_users() WP 3.0.0

Checks if the current user has permissions to import new users.

No Hooks.


true/false. True if the user has proper permissions, false if they do not.


check_import_new_users( $permission );
$permission(string) (required)
A permission to be checked. Currently not used.

Code of check import new users: wp-admin/includes/ms.php WP 5.2.2

function check_import_new_users( $permission ) {
	if ( ! current_user_can( 'manage_network_users' ) ) {
		return false;

	return true;