SFWD_LMS::init_ld_templates_dir()

Add support for alternate templates directory.


Description 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 Parameters

(Required)


Top ↑

Return Return

(none)


Top ↑

Source Source

File: includes/class-ld-lms.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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