LLMS_Admin_User_Custom_Fields::get_fields_with_data()

Method: Load usermeta data into the array of fields retrieved from $this->get_fields meta data is added to the array under the key “value” for each field if no data is found for a particular field the value is still added as an empty string

Source: includes/admin/class.llms.admin.user.custom.fields.php:163

Used by 1 function | Uses 1 function

LLMS_Admin_User_Custom_Fields::validate_fields()

Method: Validate custom fields By default only checks for valid as core fields don’t have any special validation If adding custom fields, hook into the action run after required validation to add special validation rules for your field

Source: includes/admin/class.llms.admin.user.custom.fields.php:324

Used by 1 function | Uses 1 function

lifterlms_validate_custom_user_field_{$field}

Filter Hook: Run custom validation against the field If filter function returns a truthy, validation will stop, fields will not be saved, and an error message will be displayed on screen This should return false or a string which will be used as the error message

Source: includes/admin/class.llms.admin.user.custom.fields.php:344

Used by 1 function | Uses 0 functions