Add_Tutorlms_Integration::plugin_active()
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' ); }
Expand full source code Collapse full source code View on Github