Created
May 4, 2019 06:48
-
-
Save gaupoit/283300955c227f31a53fc738bae4d346 to your computer and use it in GitHub Desktop.
WP_Upgrader_Skin class without showing the feedback message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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