Astra_LearnDash::theme_defaults( array $defaults )

Theme Defaults.


Description


Parameters

$defaults

(array) (Required) Array of options value.


Return

(array)


Source

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

		public function theme_defaults( $defaults ) {

			// General.
			$defaults['learndash-lesson-serial-number'] = false;
			$defaults['learndash-differentiate-rows']   = true;

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

			// Sidebar.
			$defaults['learndash-sidebar-layout'] = 'default';

			return $defaults;
		}

Changelog

Changelog
Version Description
1.3.0 Introduced.

User Contributed Notes

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