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