llms_get_form( string $location, array $args = array() )
Retrieve the form post for a form at a 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()
Return Return
(WP_Post|false)
Source Source
File: includes/functions/llms-functions-forms.php
function llms_get_form( $location, $args = array() ) { return LLMS_Forms::instance()->get_form_post( $location, $args ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |