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. Ничего.

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

$result = WC_REST_System_Status_V2_Controller::clean_plugin_cache();

Код WC_REST_System_Status_V2_Controller::clean_plugin_cache() WC 6.9.4

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