geno/wp-content/plugins/mailpoet/lib/Config/SilentUpgraderSkin.php
2024-02-01 11:54:18 +00:00

32 lines
570 B
PHP

<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
namespace MailPoet\Config;
if (!defined('ABSPATH')) exit;
use WP_Upgrader_Skin;
/**
* Upgrader skin that doesn't echo any outputs
* Used for when downloading translation updates in the background
*/
class SilentUpgraderSkin extends WP_Upgrader_Skin {
/**
* @inerhitDoc
*/
public function feedback($feedback, ...$args) {
}
/**
* @inerhitDoc
*/
public function header() {
}
/**
* @inerhitDoc
*/
public function footer() {
}
}