[ Index ]

PHP Cross Reference of Documentation Wordpress

title

Body

[close]

/ -> wp-login.php (summary)

WordPress User Page Handles authentication, registering, resetting passwords, forgot password, and other user handling.

File Size: 746 lines (29 kb)
Included or required:0 times
Referenced: 4 times
Includes or requires: 1 file
 wp-includes/class-phpass.php

Defines 11 functions

  login_header()
  login_footer()
  wp_shake_js()
  s()
  g()
  shake()
  retrieve_password()
  check_password_reset_key()
  reset_password()
  register_new_user()
  wp_attempt_focus()

Functions
Functions that are not part of a class:

login_header($title = 'Log In', $message = '', $wp_error = '')   X-Ref
Outputs the header for the login page.

param: string $title Optional. WordPress Log In Page title to display in
param: string $message Optional. Message to display in header.
param: WP_Error $wp_error Optional. WordPress Error Object

login_footer($input_id = '')   X-Ref
Outputs the footer for the login page.

param: string $input_id Which input to auto-focus

wp_shake_js()   X-Ref
No description

s(id,pos)   X-Ref
No description

g(id)   X-Ref
No description

shake(id,a,d)   X-Ref
No description

retrieve_password()   X-Ref
Handles sending password retrieval email to user.

return: bool|WP_Error True: when finish. WP_Error on error

check_password_reset_key($key, $login)   X-Ref
Retrieves a user row based on password reset key and login

param: string $key Hash to validate sending user's password
param: string $login The user login
return: object|WP_Error User's database row on success, error object for invalid keys

reset_password($user, $new_pass)   X-Ref
Handles resetting the user's password.

param: object $user The user
param: string $new_pass New password for the user in plaintext

register_new_user( $user_login, $user_email )   X-Ref
Handles registering a new user.

param: string $user_login User's username for logging in
param: string $user_email User's email address to send password and add
return: int|WP_Error Either user's ID or error on failure.

wp_attempt_focus()   X-Ref
No description



Développement Wordpress responsive design Montréal
Generated: Thu Feb 21 16:28:30 2013 Cross-referenced by PHPXref 0.7.1