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".


Top ↑

Parameters Parameters

$error

(WP_Error) Error object.

$posted_data

(array) Array of user-submitted data.

$action

(string) Submission action, either "registration" or "update"!


Top ↑

Source Source

File: includes/forms/class-llms-form-handler.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Moved from LLMS_Person_Handler::insert_data().
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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