Static Constructor

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' ) );


Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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