apply_filters( 'learndash_template', string $filepath , string $name , array $args , boolean $echo , boolean $return_file_path )
Filters file path for the learndash template being called.
Description Description
Parameters Parameters
- $filepath
-
Template file path
- $name
-
Template name.
- $args
-
Template data.
- $echo
-
Whether to echo the template output or not.
- $return_file_path
-
Whether to return file or path or not.
Source Source
File: includes/class-ld-lms.php
Changelog Changelog
Version | Description |
---|---|
3.0.3 | - Allow override of empty or other checks. |
2.1.0 | Introduced. |