Last active
December 2, 2023 18:48
-
-
Save softiconic/d229903d7ec6ceb06fd6dc6c10b3bb64 to your computer and use it in GitHub Desktop.
Disable updates for a specific plugin.
This file contains hidden or 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
function filter_plugin_updates( $value ) { | |
unset( $value->response['elementor-pro/elementor-pro.php'] ); | |
return $value; | |
} | |
add_filter( 'site_transient_update_plugins', 'filter_plugin_updates' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment