[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/ -> wp-signup.php (summary)

(no description)

File Size: 1046 lines (34 kb)
Included or required:0 times
Referenced: 5 times
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.


wpmu_signup_stylesheet()   X-Ref
Prints styles for front-end Multisite Sign-up pages.


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

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.

show_user_form( $user_name = '', $user_email = '', $errors = '' )   X-Ref
Displays the fields for the new user account registration form.

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.

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

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.

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.

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.

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.

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

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.

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.

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.

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



Generated : Tue Mar 19 08:20:01 2024 Cross-referenced by PHPXref