llms_get_user_information_fields()

Retrieve the filtered user information field schema


Return Return

(array[]) A list of LLMS_Form_Field settings arrays.


Top ↑

Source Source

File: includes/functions/llms-functions-user-information-fields.php

function llms_get_user_information_fields() {

	$fields = require LLMS_PLUGIN_DIR . 'includes/schemas/llms-user-information-fields.php';

	/**
	 * Filters the user information fields schema
	 *
	 * Custom fields can be added, removed, and modified using this filter. Please note that
	 * LifterLMS relies on these fields so removal or modification of attributes (like `name`,
	 * `id`, and `data_store*`) may cause LifterLMS to break in unexpected ways.
	 *
	 * @since 5.0.0
	 *
	 * @param array[] $fields List of field definitions.
	 */
	return apply_filters( 'llms_user_information_fields', $fields );

}


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.