LLMS_Forms::get_free_enroll_form_html( LLMS_Access_Plan $plan )

Retrieve the HTML of form fields used for the “free enrollment” form


Description Description

See also See also


Top ↑

Parameters Parameters

$plan

(LLMS_Access_Plan) (Required) Access plan being used for enrollment.


Top ↑

Return Return

(string)


Top ↑

Source Source

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

	 *     @type array   $meta        An associative array of postmeta information for the form. The array key is the meta key and the value is the meta value.
	 *     @type string  $template    A string used to generate the post content of the form post, usually retrieve from `LLMS_Form_Templates`.
	 *     @type array   $meta        Array of meta data used when generating the form. The array key is the meta key and array value is the meta value.
	 *     @type array[] $required    Array of arrays defining required fields for each form.
	 * }
	 */
	public function get_locations() {

		$locations = require LLMS_PLUGIN_DIR . 'includes/schemas/llms-form-locations.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.