wpsc_update_plugin_list()WPSCache 1.0

No Hooks.

Return

null. Nothing (null).

Usage

wpsc_update_plugin_list( $update );
$update (required)
-

wpsc_update_plugin_list() code WPSCache 1.12.0

function wpsc_update_plugin_list( $update ) {
	$list = do_cacheaction( 'wpsc_filter_list' );
	foreach( $update as $key => $enabled ) {
		$plugin_toggle = "cache_{$key}";
		if ( isset( $GLOBALS[ $plugin_toggle ] ) || isset( $list[ $key ] ) ) {
			wp_cache_setting( $plugin_toggle, (int)$enabled );
		}
	}
}