wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



check_import_new_users › WordPress Function

Da3.0.0
Deprecaton/a
› check_import_new_users ( $permission )
Parametri:
  • (string) $permission A permission to be checked. Currently not used.
    Richiesto: Sì
Ritorna:
  • (bool) True if the user has proper permissions, false if they do not.
Definito a:
Codex:

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



Sorgenti

function check_import_new_users( $permission ) {
	return current_user_can( 'manage_network_users' );
}