LLMS_Forms::get_field_names()
Returns a list of field names used by LifterLMS forms
Description Description
Used to validate uniqueness of custom field data.
Return Return
(string[])
Source Source
File: includes/forms/class-llms-forms.php
public function get_field_names() {
$names = array(
'user_login',
'user_login_confirm',
'email_address',
'email_address_confirm',
'password',
'password_confirm',
'first_name',
'last_name',
'display_name',
'llms_billing_address_1',
'llms_billing_address_2',
'llms_billing_city',
'llms_billing_country',
'llms_billing_state',
'llms_billing_zip',
'llms_phone',
);
/**
* Filters the list of field names used by LifterLMS forms
*
* @since 5.0.0
*
* @param string[] $names List of registered field names.
*/
return apply_filters( 'llms_forms_field_names', $names );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |