ACF_Updates::refresh_plugins_transient() public ACF 5.5.10
Deletes transients and allows a fresh lookup.
{} Это метод класса: ACF_Updates{}
Хуков нет.
Возвращает
null.
Использование
$ACF_Updates = new ACF_Updates(); $ACF_Updates->refresh_plugins_transient();
Список изменений
С версии 5.5.10 | Введена. |
Код ACF_Updates::refresh_plugins_transient() ACF Updates::refresh plugins transient ACF 5.9.1
function refresh_plugins_transient() {
delete_site_transient('update_plugins');
delete_transient('acf_plugin_updates');
}