learndash_30_template_filename( string $filepath = '', string $name = '', array $args = array(), boolean $echo = false, boolean $return_file_path = false )

Gets the template file path by name.


Description Description

Fires on learndash_template_filename hook.


Parameters Parameters

$filepath

(Optional) Template file path.

Default value: ''

$name

(Optional) Template name.

Default value: ''

$args

(Optional) Template data.

Default value: array()

$echo

(Optional) Whether to echo the template output or not.

Default value: false

$return_file_path

(Optional) Whether to return file or path or not.

Default value: false


Top ↑

Return Return

(string) Returns template file path.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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