SFWD_LMS::get_template( string $name, array $args, boolean $echo = false,  $return_file_path = false )

Get LearnDash template and pass data to be used in template


Description Description

Checks to see if user has a ‘learndash’ directory in their current theme and uses the template if it exists.


Parameters Parameters

$name

(Required) template name

$args

(Required) data for template

$echo

(Optional) echo or return

Default value: false

(Required) return_file_path return just file path instead of output


Top ↑

Source Source

File: includes/class-ld-lms.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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