require_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
if ( ! class_exists( 'ET_Core_LIB_SilentThemeUpgraderSkin' ) ):
* Theme Upgrader skin which does not output feedback.
class ET_Core_LIB_SilentThemeUpgraderSkin extends WP_Upgrader_Skin {
* Override feedback method.
* @param string $string Feedback string.
* @param mixed ...$args Optional text replacements.
public function feedback( $string, ...$args ) {
return; // Suppress all feedback.