Astra_LifterLMS::theme_defaults( array $defaults )

Theme Defaults.


Description


Parameters

$defaults

(array) (Required) Array of options value.


Return

(array)


Source

File: inc/compatibility/lifterlms/class-astra-lifterlms.php

		public function theme_defaults( $defaults ) {

			// General.
			$defaults['llms-course-grid']     = array(
				'desktop' => 3,
				'tablet'  => 2,
				'mobile'  => 1,
			);
			$defaults['llms-membership-grid'] = array(
				'desktop' => 3,
				'tablet'  => 2,
				'mobile'  => 1,
			);

			// Container.
			$defaults['lifterlms-content-layout'] = 'plain-container';

			// Sidebar.
			$defaults['lifterlms-sidebar-layout']               = 'no-sidebar';
			$defaults['lifterlms-course-lesson-sidebar-layout'] = 'default';

			return $defaults;
		}

Changelog

Changelog
Version Description
1.2.0 Introduced.

User Contributed Notes

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