WC_REST_System_Status_V2_Controller::clean_plugin_cache()public staticWC 1.0

Clear the system status plugin caches

Method of the class: WC_REST_System_Status_V2_Controller{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_REST_System_Status_V2_Controller::clean_plugin_cache();

WC_REST_System_Status_V2_Controller::clean_plugin_cache() code WC 9.0.1

public static function clean_plugin_cache() {
	delete_transient( 'wc_system_status_active_plugins' );
	delete_transient( 'wc_system_status_inactive_plugins' );
	delete_transient( 'wc_system_status_dropins_mu_plugins' );
}