LLMS_Admin_User_Custom_Fields::add_errors( obj $errors, bool $update, WP_User $user )

Validate custom fields


Description Description

During updates will save data, creation is saved during a different action.


Parameters Parameters

$errors

(Required) Instance of WP_Error, passed by reference.

$update

(Required) true if updating a profile, false if a new user.

$user

(Required) Instance of WP_User for the user being updated.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/admin/class.llms.admin.user.custom.fields.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.37.15 Correctly pass $user to $this->save().
3.13.0 Unknown.
2.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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