Warning: This method has been deprecated. LLMS_Person_Handler::get_available_fields() is deprecated in favor of LLMS_Forms::get_form_fields() instead.
LLMS_Person_Handler::get_available_fields( string $screen = 'registration', array|int $data = array() )
Retrieve an array of fields for a specific screen
Description Description
Parameters Parameters
- $screen
-
(Optional) Name os the screen [account|checkout|registration].
Default value: 'registration'
- $data
-
(Optional) Array of data to fill fields with or a WP User ID.
Default value: array()
Return Return
(array)
Source Source
File: includes/class.llms.person.handler.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | LLMS_Person_Handler::get_available_fields() is deprecated in favor of LLMS_Forms::get_form_fields() . |
3.7.0 | Unknown. |
3.0.0 | Introduced. |