LLMS_Theme_Support::includes()

Conditionally require additional theme support classes.


Description Description


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;

		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
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.