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
Parameters Parameters
- $plan
-
(LLMS_Access_Plan) (Required) Access plan being used for enrollment.
Return Return
(string)
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';
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |