WC_Helper_Updater::print_update_row_message
Append a message to the update row Core renders for a plugin.
Core has already printed its own sentence, so the message is preceded by a space.
Метод класса: WC_Helper_Updater{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$result = WC_Helper_Updater::print_update_row_message( $notice ): void;
- $notice(строка) (обязательный)
- The notice text, which may contain a single link.
Список изменений
| С версии 11.2.0 | Введена. |
Код WC_Helper_Updater::print_update_row_message() WC Helper Updater::print update row message WC 11.3.0
private static function print_update_row_message( string $notice ): void {
if ( '' === $notice ) {
return;
}
echo ' ' . self::kses_notice( $notice ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- kses_notice() escapes.
}