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 #


Source #

File: includes/class-ld-lms.php

Changelog #

Version Description
2.4 Introduced.