WordPress at a glance
function is not described

Automattic\Jetpack\Autoloader\jpe7838abe751421865f42aa61338ab306

Plugins_Handler::cache_plugins() public WC 1.0

Saves the plugin list to the cache.

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

No Hooks.

Return

null. Nothing.

Usage

$Plugins_Handler = new Plugins_Handler();
$Plugins_Handler->cache_plugins( $plugins );
$plugins(array) (required)
The plugin list to save to the cache.

Code of Plugins_Handler::cache_plugins() WC 5.2.2

<?php
public function cache_plugins( $plugins ) {
	// We store the paths in a tokenized form so that that webservers with different absolute paths don't break.
	$plugins = array_map( array( $this->path_processor, 'tokenize_path_constants' ), $plugins );

	set_transient( self::TRANSIENT_KEY, $plugins );
}