LLMS_Form_Handler::get_fields( string $action, string $location, array $args = array() )

Retrieve fields for a given form


Description Description

Ensures the form exists and that the current user can access the form.


Parameters Parameters

$action

(Required) User action to be performed. Either "update" (for an existing user) or "registration" for a new user.

$location

(Required) Form location ID.

$args

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

Default value: array()


Top ↑

Return Return

(WP_Error|array[]) Array of LLMS_Form_Field arrays on success or an error object on failure.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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