Registration_Fields implements Registerable, Standard_Service

Handles the frontend display and saving of custom registration fields

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Standard_Service

Table of Contents

output_fields()  : mixed
Output the fields on the registration form
register()  : mixed
{@inheritdoc}
save_fields()  : mixed
Save the field data
validate_fields()  : mixed
Validate the fields

Methods

output_fields()

Output the fields on the registration form

public output_fields() : mixed
Tags
Return values
mixed

save_fields()

Save the field data

public save_fields(int $customer_id, array<string|int, mixed> $new_customer_data) : mixed
Parameters
$customer_id : int
$new_customer_data : array<string|int, mixed>
Tags
Return values
mixed

validate_fields()

Validate the fields

public validate_fields(string $username, string $email, WP_Error $errors) : mixed
Parameters
$username : string
$email : string
$errors : WP_Error
Tags
Return values
mixed

Search results