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
Parameters Parameters
- $screen
-
(string) (Optional) Name os the screen [account|checkout|registration].
Default value: 'registration'
- $data
-
(array|int) (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
550 551 552 553 | public static function get_available_fields( $screen = 'registration' , $data = array () ) { _deprecated_function( 'LLMS_Person_Handler::get_available_fields()' , '5.0.0' , 'LLMS_Forms::get_form_fields()' ); return LLMS_Forms::instance()->get_form_fields( $screen ); } |
Expand full source code Collapse full source code View on GitHub
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. |