Browse: Home / Functions /

learndash_course_reviews_locate_template

learndash_course_reviews_locate_template( string $template_name,  $args = array() )

Loads a template file from the theme if it exists, otherwise from the plugin.


Description #


Parameters #

$template_name

(string) (Required) Template path, relative to the src/views directory.

(<span class="arrayarray<string,) (Required) mixed> $args Array of variables to pass into the template file.


Return #

(void)


Source #

File: includes/course-reviews/core/learndash-course-reviews-functions.php


Changelog #

Changelog
Version Description
4.25.1 Introduced.