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()


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.person.handler.php

	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 );
	}

Top ↑

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

Top ↑

User Contributed Notes User Contributed Notes

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