LLMS_Admin_Events_Promo::__construct()

Constructor.


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

Top ↑

Changelog Changelog

Changelog
Version Description
7.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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