geno/wp-content/plugins/mailpoet/lib/Config/SilentUpgraderSkin.php

33 lines
570 B
PHP
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
<?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() {
}
}