llms_get_form_html( string $location, array $args = array() )

Retrieve the HTML for a form at the given location.


Parameters Parameters

$location

(string) (Required) Form location, one of: "checkout", "registration", or "account".

$args

(array) (Optional) Additional arguments passed to the short-circuit filter in LLMS_Forms->get_form_post().

Default value: array()


Top ↑

Return Return

(string)


Top ↑

Source Source

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

function llms_get_form_html( $location, $args = array() ) {
	return LLMS_Forms::instance()->get_form_html( $location, $args );
}


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.