Add_Wp_User_Manager_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/wp-user-manager/add-wp-user-manager-integration.php

	public function plugin_active( $status, $plugin ) {

		if ( self::$integration === $plugin ) {
			if ( class_exists( 'WP_User_Manager' ) ) {
				$status = true;
			} else {
				$status = false;
			}
		}

		return $status;
	}