Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / Functions / learndash_user_register_error()

learndash_user_register_error( string $sanitized_user_login, string $user_email, array $errors )

Handles user registration failure.

Contents

  • Description
    • Parameters
    • Source
    • Changelog
  • User Contributed Notes

Description #Description

Fires on register_post hook. From this function we capture the failed registration errors and send the user back to the registration form part of the LD login modal.


Parameters #Parameters

$sanitized_user_login

(Required) User entered login (sanitized).

$user_email

(Required) User entered email.

$errors

(Required) Array of registration errors.


Top ↑

Source #Source

File: themes/ld30/includes/login-register-functions.php


			

Expand full source code Collapse full source code


Top ↑

Changelog #Changelog

Changelog
Version Description
3.1.1.1 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

You must log in before being able to contribute a note or feedback.

Proudly powered by WordPress