apply_filters( 'lifterlms_get_person_fields', array[] $fields, string $location, array $args )

Filter to add custom fields to a form programmatically.


Parameters Parameters

$fields

(array[]) Array of field array suitable to pass to llms_form_field().

$location

(string) Form location, one of: "checkout", "registration", or "account".

$args

(array) Additional arguments passed to the short-circuit filter.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Moved from deprecated function LLMS_Person_Handler::get_available_fields().
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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