| 1 |
<?php |
| 2 |
|
| 3 |
namespace LIBRARY; |
| 4 |
|
| 5 |
if ( ! class_exists( '\Plugin_Upgrader', false ) ) { |
| 6 |
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; |
| 7 |
} |
| 8 |
|
| 9 |
class PluginInstallerSkinSilent extends \WP_Upgrader_Skin { |
| 10 |
|
| 11 |
public function header() {} |
| 12 |
public function footer() {} |
| 13 |
public function feedback( $string, ...$args ) {} |
| 14 |
public function decrement_update_count( $type ) {} |
| 15 |
public function error( $errors ) {} |
| 16 |
} |
| 17 |
|
| 18 |
|