LLMS_Admin_Events_Promo::__construct()
Constructor.
Contents
Source Source
File: includes/admin/class-llms-admin-events-promo.php
public function __construct() {
// Only show promo if the events plugin is not active.
if ( class_exists( 'LLMS_Events_Plugin' ) ) {
return;
}
add_filter( 'llms_metabox_fields_lifterlms_course_options', array( $this, 'add_course_promo_tab' ) );
add_filter( 'llms_metabox_fields_lifterlms_membership', array( $this, 'add_membership_promo_tab' ) );
add_filter( 'llms_metabox_fields_lifterlms_lesson', array( $this, 'add_lesson_promo_tab' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.8.0 | Introduced. |