LLMS_Theme_Support::includes()

Conditionally require additional theme support classes.


Return Return

(void)


Top ↑

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;
		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
5.8.0 Added twenty-twenty-two compatibility.
4.3.0 Method access changed to public.
3.37.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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