llms_get_template( string $template_name, array $args = array(), string $template_path = '', string $default_path = '' )
Get Template Part
Description Description
Parameters Parameters
- $template_name
-
(Required) Name of template.
- $args
-
(Optional) Array of arguments accessible from the template.
Default value: array()
- $template_path
-
(Optional) Dir path to template. Default is empty string. If not supplied the one retrived from
LLMS()->template_path()
will be used.Default value: ''
- $default_path
-
(Optional) Default path is empty string. If not supplied the template path is
LLMS()->plugin_path() . '/templates/'
.Default value: ''
Return Return
(void)
Source Source
File: includes/functions/llms.functions.template.php
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Unknown |
1.0.0 | Introduced. |