Skip to content

Instantly share code, notes, and snippets.

@gaupoit
Created May 4, 2019 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaupoit/283300955c227f31a53fc738bae4d346 to your computer and use it in GitHub Desktop.
Save gaupoit/283300955c227f31a53fc738bae4d346 to your computer and use it in GitHub Desktop.
WP_Upgrader_Skin class without showing the feedback message
<?php
include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
if ( ! class_exists( 'PDA_WP_Upgrader_Skin' ) ) {
class PDA_WP_Upgrader_Skin extends WP_Upgrader_Skin {
function feedback( $string ) {
return;
}
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment