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

	public function get_free_enroll_form_html( $plan ) {

		$html = '';
		foreach ( $this->get_free_enroll_form_fields( $plan ) as $field ) {
			$html .= llms_form_field( $field, false );
		}

		return $html;

	}


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.