LLMS_Twenty_Nineteen::init()
Static Constructor.
Contents
Return Return
(void)
Source Source
File: includes/theme-support/class-llms-twenty-nineteen.php
public static function init() { // This theme doesn't have a sidebar. remove_action( 'lifterlms_sidebar', 'lifterlms_get_sidebar', 10 ); // Handle content wrappers. remove_action( 'lifterlms_before_main_content', 'lifterlms_output_content_wrapper', 10 ); remove_action( 'lifterlms_after_main_content', 'lifterlms_output_content_wrapper_end', 10 ); add_action( 'lifterlms_before_main_content', array( __CLASS__, 'output_content_wrapper' ), 10 ); add_action( 'lifterlms_after_main_content', array( __CLASS__, 'output_content_wrapper_end' ), 10 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.31.0 | Introduced. |