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
-
Error object.
- $posted_data
-
Array of user-submitted data.
- $action
-
Submission action, either "registration" or "update"!
Source Source
File: includes/forms/class-llms-form-handler.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Moved from LLMS_Person_Handler::insert_data() . |
3.0.0 | Introduced. |