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


Top ↑

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.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
5.0.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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