Add_Restrict_Content_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/restrict-content/add-restrict-content-integration.php

	public function plugin_active( $status, $plugin ) {

		if ( function_exists( 'rcp_get_membership_levels' ) ) {
			return true;
		}

		return $status;
	}