[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/ -> wp-signup.php (summary)

(no description)

File Size: 1021 lines (32 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 2 files
 wp-blog-header.php
 wp-load.php

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 Sign-up pages.

since: MU (3.0.0)

show_blog_form( $blogname = '', $blog_title = '', $errors = '' )   X-Ref
Generates and displays the Sign-up 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
Validates the new site sign-up.

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
Displays the fields for the new user account 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
Validates user sign-up 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
Shows a form for 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
Validates a new site sign-up for an existing user.

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

confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = array()   X-Ref
Shows a message confirming that the new site has been created.

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
Shows a form for a visitor to sign up for a new user account.

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
Validates the new user sign-up.

return: bool True if new user sign-up was validated, false on error.
since: MU (3.0.0)

confirm_user_signup( $user_name, $user_email )   X-Ref
Shows a message confirming that the new user has been registered and is awaiting activation.

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
Shows a form for a user or visitor to sign up for a new site.

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
Validates new site signup.

return: bool True if the site sign-up was validated, false on error.
since: MU (3.0.0)

confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array()   X-Ref
Shows a message confirming that the new site has been registered and is awaiting activation.

since: MU (3.0.0)
param: string $domain     The domain or subdomain of the site.
param: string $path       The path of the site.
param: string $blog_title The title of the new site.
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 sign-up process.

return: string[] Array of available language codes. Language codes are formed by
since: 4.4.0



Generated: Sat Dec 21 01:00:02 2024 Cross-referenced by PHPXref 0.7.1