WC_REST_System_Status_V2_Controller::clean_plugin_cache
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 REST System Status V2 Controller::clean plugin cache WC 11.3.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' );
}