ASTRA_Ext_LifterLMS_Markup::__construct()
Constructor
Description
Source
File: addons/lifterlms/classes/class-astra-ext-lifterlms-markup.php
public function __construct() { add_action( 'wp', array( $this, 'llms_checkout' ) ); add_action( 'wp', array( $this, 'llms_learning' ) ); add_action( 'body_class', array( $this, 'body_class' ) ); add_action( 'astra_get_css_files', array( $this, 'add_styles' ) ); // Add LifterLMS icon in Menu. add_action( 'astra_masthead_content', array( $this, 'lifterlms_profile_link_enabled' ) ); add_action( 'astra_masthead_content', array( $this, 'menu_lifter_lms_profile_link_wrapper_start' ), 9 ); add_action( 'astra_masthead_content', array( $this, 'menu_lifter_lms_profile_link_wrapper_end' ), 11 ); // Shortcode. add_shortcode( 'astra_lifterlms_profile_link', array( $this, 'astra_lifterlms_profile_link_callback' ) ); }
Expand full source code Collapse full source code View on Trac