This is useful for client with Admin access to not allow one click update of plugins.

Use ManageWP to do the updates.

remove_action( 'load-update-core.php', 'wp_update_plugins' );
add_filter( 'pre_site_transient_update_plugins', create_function( '$a', "return null;" ) );

 

6 / 6
DISCUSS 0 Comments
No comments