apply_filters( "lifterlms_user_{$action}_insert_user", array $user_data , array $posted_data , string $action )
Filter data added to the wp_users data via wp_insert_user()
or wp_update_user()
.
Description Description
The dynamic portion of this hook, $action
, can be either "registration" or "update".
Parameters Parameters
- $user_data
-
(array) Array of user data.
- $posted_data
-
(array) Array of user-submitted data.
- $action
-
(string) Submission action, either "registration" or "update".
Source Source
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Moved from LLMS_Person_Handler::insert_data() . |
3.0.0 | Introduced. |