BuddyClients Docs

create-account.php

Table of Contents

Functions

buddyc_checkout_create_account()  : mixed
Handle create account form submission.
buddyc_validate_password_strength()  : string|null
Validates password strength.
buddyc_generate_login_name()  : mixed
Generates login name.

Functions

buddyc_checkout_create_account()

Handle create account form submission.

buddyc_checkout_create_account() : mixed

Called by AJAX script.

Tags
since
0.1.0

buddyc_validate_password_strength()

Validates password strength.

buddyc_validate_password_strength(string $password) : string|null

Checks if the password meets strength requirements.

Parameters
$password : string

The password to validate.

Tags
since
0.1.0
Return values
string|null

Returns error message if validation fails, otherwise null.

buddyc_generate_login_name()

Generates login name.

buddyc_generate_login_name(mixed $first_name) : mixed

Checks against existing users to ensure unique handle.

Parameters
$first_name : mixed
Tags
since
0.1.0

        
On this page

Search results