WC_REST_System_Status_V2_Controller::clean_plugin_cache()public staticWC 1.0

Clear the system status plugin caches

Метод класса: WC_REST_System_Status_V2_Controller{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = WC_REST_System_Status_V2_Controller::clean_plugin_cache();

Код WC_REST_System_Status_V2_Controller::clean_plugin_cache() WC 8.7.0

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' );
}