Astra_LifterLMS::add_sidebar( string $id )
Display LifterLMS Course and Lesson sidebars on courses and lessons in place of the sidebar returned by this function
Description
Parameters
- $id
-
(string) (Required) default sidebar id (an empty string).
Return
(string)
Source
File: inc/compatibility/lifterlms/class-astra-lifterlms.php
public function add_sidebar( $id ) {
$sidebar_id = 'sidebar-1'; // replace this with theme's sidebar ID.
return $sidebar_id;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |