WordPress at Your Fingertips
function is not described

Automattic\Jetpack\Autoloader\jp75e44bb1769a41d7ab3f080ddf78bcc8

Plugins_Handler::have_plugins_changed() public WC 1.0

Checks to see whether or not the plugin list given has changed when compared to the shared $jetpack_autoloader_cached_plugin_paths global. This allows us to deal with cases where the active list may change due to filtering..

{} It's a method of the class: Plugins_Handler{}

No Hooks.

Return

true|false. True if the plugins have changed, otherwise false.

Usage

$Plugins_Handler = new Plugins_Handler();
$Plugins_Handler->have_plugins_changed( $plugins );
$plugins(string[]) (required)
The plugins list to check against the global cache.

Code of Plugins_Handler::have_plugins_changed() WC 5.5.2

<?php
public function have_plugins_changed( $plugins ) {
	global $jetpack_autoloader_cached_plugin_paths;

	if ( $jetpack_autoloader_cached_plugin_paths !== $plugins ) {
		$jetpack_autoloader_cached_plugin_paths = $plugins;
		return true;
	}

	return false;
}