Add_Tutorlms_Integration::plugin_active()

Contents


Return Return

(bool)


Source Source

File: src/integrations/tutorlms/add-tutorlms-integration.php

	public function plugin_active( $status, $plugin ) {

		// not our code, bail early.
		if ( self::$integration !== $plugin ) {
			return $status;
		}

		// otherwise, return if Tutor LMS is active.
		return class_exists( '\TUTOR\Tutor' );
	}