Uma área de pesquisa sobre o WordPress para devs e autores do tema



create_user ›

Desde2.0.0
Obsoleto2.0.0
create_user ( $username, $password, $email )
Parâmetros: (3)
  • (string) $username The user's username.
    Required: Yes
  • (string) $password The user's password.
    Required: Yes
  • (string) $email The user's email.
    Required: Yes
Ver:
Retorna:
  • (int) The new user's ID.
Definido em:
Codex:

An alias of wp_create_user().



Fonte

function create_user($username, $password, $email) {
	_deprecated_function( __FUNCTION__, '2.0.0', 'wp_create_user()' );
	return wp_create_user($username, $password, $email);
}