wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_login is deprecated since version 2.5.0!
Alternative: Ver página de detalhe para wp_signon »" href="https://pt.wpseek.com/function/wp_signon/">wp_signon()
Alternative: Ver página de detalhe para wp_signon »" href="https://pt.wpseek.com/function/wp_signon/">wp_signon()
wp_login › WordPress Function
Desde1.2.2
Obsoleto2.5.0
› wp_login ( $username, $password, $deprecated = '' )
Parâmetros: (3) |
|
Ver: | |
Retorna: |
|
Definido em: |
|
Codex: |
Checks a users login information and logs them in if it checks out. This function is deprecated.
Use the global $error to get the reason why the login failed. If the username is blank, no error will be set, so assume blank username on that case. Plugins extending this function should also provide the global $error and set what the error is, so that those checking the global for why there was a failure can utilize it later.