apply_filters( "lifterlms_user_{$action}_failure", WP_Error $error , array $posted_data , string $action )
Filter the error return when the insert/update fails.
Description Description
The dynamic portion of this hook, $action
, can be either "registration" or "update".
Parameters Parameters
- $error
-
(WP_Error) Error object.
- $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. |