LLMS_Sidebars::init()
Static Constructor
Contents
Source Source
File: includes/class.llms.sidebars.php
public static function init() {
// Replaces sidebars with course & lesson sidebars.
add_filter( 'sidebars_widgets', array( __CLASS__, 'replace_default_sidebars' ) );
// Registers llms core sidebars.
add_action( 'widgets_init', array( __CLASS__, 'register_sidebars' ), 5 );
// Custom actions for genesis.
add_action( 'genesis_init', array( __CLASS__, 'genesis_support' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |