SFWD_LMS::init_ld_templates_dir

SFWD_LMS::init_ld_templates_dir()

Add support for alternate templates directory.


Description #

Normally LD will load template files from the active theme directory or if not found via the plugin templates directory. We now support a nuetral directory wp-content/uploads/learndash/templates/

If the site uses a functions.php it will be loaded from that directory This is the recommended place to add actions/filters to prevent theme updates from erasing them.


Parameters #

(none) (Required)


Return #

(none)


Source #

File: includes/class-ld-lms.php


Changelog #

Changelog
Version Description
2.4 Introduced.