Warning: This method has been deprecated. LLMS_Person_Handler::validate_fields() is deprecated with no replacement instead.

LLMS_Person_Handler::validate_fields( array $data, string $screen = 'registration' )

Validate submitted user data for registration or profile update

Parameters Parameters


(array) (Required) User data array.

  • 'user_login'
    (string) User login/username.
  • 'email_address'
    (string) User email.
  • 'email_address_confirm'
    (string) Email address confirmation.
  • 'password'
    (string) User password.
  • 'password_confirm'
    (string) Password confirmation.
  • 'first_name'
    (string) User First name.
  • 'last_name'
    (string) User last name.
  • 'llms_billing_address_1'
    (string) Address line 1.
  • 'llms_billing_address_2'
    (string) Address line 2.
  • 'llms_billing_city'
    (string) City.
  • 'llms_billing_state'
    (string) State.
  • 'llms_billing_zip'
    (string) Zip / Postal code.
  • 'llms_billing_country'
    (string) Country.
  • 'llms_phone'
    (string) Phone number.


(string) (Optional) Screen to validate fields against, accepts "account", "checkout", "registration", or "update".

Default value: 'registration'

Top ↑

Return Return


Top ↑

Source Source

File: includes/class.llms.person.handler.php

Top ↑

Changelog Changelog

Version Description
5.0.0 LLMS_Person_Handler::validate_fields() is deprecated with no replacement.
3.19.4 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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