WC_REST_System_Status_V2_Controller::clean_plugin_cache
Clear the system status plugin caches
Method of the class: WC_REST_System_Status_V2_Controller{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = WC_REST_System_Status_V2_Controller::clean_plugin_cache();
WC_REST_System_Status_V2_Controller::clean_plugin_cache() WC REST System Status V2 Controller::clean plugin cache code WC 10.3.6
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' );
}