[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/ -> wp-signup.php (summary)

(no description)

File Size: 919 lines (30 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 16 functions

  do_signup_header()
  wpmu_signup_stylesheet()
  show_blog_form()
  validate_blog_form()
  show_user_form()
  validate_user_form()
  signup_another_blog()
  validate_another_blog_signup()
  confirm_another_blog_signup()
  signup_user()
  validate_user_signup()
  confirm_user_signup()
  signup_blog()
  validate_blog_signup()
  confirm_blog_signup()
  signup_get_available_languages()

Functions
Functions that are not part of a class:

do_signup_header()   X-Ref
Prints signup_header via wp_head

since: MU (3.0.0)

wpmu_signup_stylesheet()   X-Ref
Prints styles for front-end Multisite signup pages

since: MU (3.0.0)

show_blog_form( $blogname = '', $blog_title = '', $errors = '' )   X-Ref
Generates and displays the Signup and Create Site forms

since: MU (3.0.0)
param: string          $blogname   The new site name.
param: string          $blog_title The new site title.
param: WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.

validate_blog_form()   X-Ref
Validate the new site signup

return: array Contains the new site data and error messages.
since: MU (3.0.0)

show_user_form($user_name = '', $user_email = '', $errors = '')   X-Ref
Display user registration form

since: MU (3.0.0)
param: string          $user_name  The entered username.
param: string          $user_email The entered email address.
param: WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.

validate_user_form()   X-Ref
Validate user signup name and email

return: array Contains username, email, and error messages.
since: MU (3.0.0)

signup_another_blog( $blogname = '', $blog_title = '', $errors = '' )   X-Ref
Allow returning users to sign up for another site

since: MU (3.0.0)
param: string          $blogname   The new site name
param: string          $blog_title The new site title.
param: WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.

validate_another_blog_signup()   X-Ref
Validate a new site signup.

return: null|bool True if site signup was validated, false if error.
since: MU (3.0.0)

confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = array()   X-Ref
Confirm a new site signup.

since: MU (3.0.0)
since: 4.4.0 Added the `$blog_id` parameter.
param: string $domain     The domain URL.
param: string $path       The site root path.
param: string $blog_title The site title.
param: string $user_name  The username.
param: string $user_email The user's email address.
param: array  $meta       Any additional meta from the {@see 'add_signup_meta'} filter in validate_blog_signup().
param: int    $blog_id    The site ID.

signup_user( $user_name = '', $user_email = '', $errors = '' )   X-Ref
Setup the new user signup process

since: MU (3.0.0)
param: string          $user_name  The username.
param: string          $user_email The user's email.
param: WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.

validate_user_signup()   X-Ref
Validate the new user signup

return: bool True if new user signup was validated, false if error
since: MU (3.0.0)

confirm_user_signup($user_name, $user_email)   X-Ref
New user signup confirmation

since: MU (3.0.0)
param: string $user_name The username
param: string $user_email The user's email address

signup_blog($user_name = '', $user_email = '', $blogname = '', $blog_title = '', $errors = '')   X-Ref
Setup the new site signup

since: MU (3.0.0)
param: string          $user_name  The username.
param: string          $user_email The user's email address.
param: string          $blogname   The site name.
param: string          $blog_title The site title.
param: WP_Error|string $errors     A WP_Error object containing existing errors. Defaults to empty string.

validate_blog_signup()   X-Ref
Validate new site signup

return: bool True if the site signup was validated, false if error
since: MU (3.0.0)

confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array()   X-Ref
New site signup confirmation

since: MU (3.0.0)
param: string $domain The domain URL
param: string $path The site root path
param: string $blog_title The new site title
param: string $user_name The user's username
param: string $user_email The user's email address
param: array $meta Any additional meta from the {@see 'add_signup_meta'} filter in validate_blog_signup()

signup_get_available_languages()   X-Ref
Retrieves languages available during the site/user signup process.

return: array List of available languages.
since: 4.4.0



Generated: Wed Oct 18 01:00:03 2017 Cross-referenced by PHPXref 0.7.1