apply_filters( "lifterlms_user_{$action}_required_data", WP_Error|true $valid , array $posted_data , string $location )
Filter the required fields validity of the form submission.
Description Description
The dynamic portion of this hook, $action
, can be either "registration" or "update".
Parameters Parameters
- $valid
-
(WP_Error|true) Error object containing required validation errors or true when the data is valid.
- $posted_data
-
(array) Array of user-submitted data.
- $location
-
(string) Form location.
Source Source
Changelog Changelog
Version | Description |
---|---|
5.0.1 | Introduced. |