wp_login [ WordPress Function ]
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
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.
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/wp login « WordPress Codex
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions.
codex.wordpress.org - WordPress › Support » Tags — wp_login
Password (forgot?) Register · WordPress › Support » wp_login ...
wordpress.org - WordPress › Support » Getting user info at wp_login hook?
I am using the wp_login hook, which is the last hook I can use before the user is redirected and the admin_header stuff starts getting written (i.e. by then it's too ...
wordpress.org - wp_login Wordpress hook details -- Adam Brown, BYU Political ...
WordPress hook directory wp_login. Description. Runs when a user logs in. This description was scraped automatically from the WordPress filter reference or ...
adambrown.info
Gebruikersdiscussies [ wordpress.org ]
- Matiss on "obtaining current username in a plugin"
- jorge-silva on "obtaining current username in a plugin"
- Rev. Voodoo on "wp_pre_logout hook proposal"
- ssteiner on "wp_pre_logout hook proposal"
- Espumoso on "Additional field during login?"
- mark8barnes on "Problem with login/register post variables"
- xPSFT on "Cannot log into WP from own site - invalid_username error"
- xPSFT on "Cannot log into WP from own site - invalid_username error"
- crosenblum on "Problem with login/register post variables"
- tajosh on "my First Plugin: wp_login.php not working once plugin activated"