Add_Um_Integration::plugin_active( $status,  $plugin )

Only load this integration and its triggers and actions if the related plugin is active


Parameters Parameters

$status

(Required)

$plugin

(Required)


Top ↑

Return Return

(bool)


Source Source

File: src/integrations/ultimate-member/add-um-integration.php

	public function plugin_active( $status, $plugin ) {

		if ( self::$integration === $plugin ) {
			if ( class_exists( 'UM' ) || defined( 'um_url' ) ) {
				$status = true;
			} else {
				$status = false;
			}
		}

		return $status;
	}