LLMS_Theme_Support::includes()
Conditionally require additional theme support classes.
Contents
Return Return
(void)
Source Source
File: includes/theme-support/class-llms-theme-support.php
public function includes() { switch ( get_template() ) { case 'twentynineteen': require_once 'class-llms-twenty-nineteen.php'; break; case 'twentytwenty': require_once 'class-llms-twenty-twenty.php'; break; case 'twentytwentyone': require_once 'class-llms-twenty-twenty-one.php'; break; case 'twentytwentytwo': require_once 'class-llms-twenty-twenty-two.php'; break; } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
5.8.0 | Added twenty-twenty-two compatibility. |
4.3.0 | Method access changed to public . |
3.37.0 | Introduced. |