Function: check_import_new_users

check_import_new_users( string $permission )

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

Parameters

Name Type(s) Default Value Description
$permission string

A permission to be checked. Currently not used.

Returns

boolean

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

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.