How do I stop plugins and themes from getting updated in a new plugin?

I found this 2 filters to add in my functions.php of the Theme:

add_filter( ‘auto_update_plugin’, ‘__return_false’ );

add_filter( ‘auto_update_theme’, ‘__return_false’ );

But I need to do totally block the updates this to multiple WP sites. So I thought to build a plugin that I install where I need instead go every time to change function.php. But is possible to do that with the plugin?

Read more here:: How do I stop plugins and themes from getting updated in a new plugin?

Leave a Reply

Your email address will not be published. Required fields are marked *