Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Admin_Builder::get_template( string $template,  $vars = array() )

Retrieve the HTML of a JS template


Parameters Parameters

$template

(string) (Required) Template file slug.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/admin/class.llms.admin.builder.php

	private static function get_template( $template, $vars = array() ) {

		ob_start();
		extract( $vars );
		include 'views/builder/' . $template . '.php';
		return ob_get_clean();

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.