update_feedback
Проверено на WordPress 6.9, обновлено Источник: WordPress Developer Resources.
Сигнатура
apply_filters( 'update_feedback', string $feedback )
Описание
Фильтр впервые применяется после того, как zip-файл последней версии загружен и распакован. Далее он применяется ещё пять раз в ходе процесса:
Перед тем как WordPress начинает процесс обновления ядра.
Перед включением режима обслуживания.
Перед тем как WordPress начинает копировать необходимые файлы.
Перед отключением режима обслуживания.
Перед обновлением базы данных.
Оригинал (английский)
The filter is first evaluated after the zip file for the latest version has been downloaded and unzipped. It is evaluated five more times during the process:
- Before WordPress begins the core upgrade process.
- Before Maintenance Mode is enabled.
- Before WordPress begins copying over the necessary files.
- Before Maintenance Mode is disabled.
- Before the database is upgraded.
Фильтруемое значение
Параметры
$feedback
string
обязательный
Исходный код
wp-admin/includes/update-core.php:1124
apply_filters( 'update_feedback', __( 'Verifying the unpacked files…' ) );
История изменений
| Версия | Описание |
|---|---|
| 2.5.0 | Introduced. |

