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; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |