Disable WordPress Update

To secure that your client doesn’t mess up the theme you created for him by updating to a WP-version your theme doesn’t have support for, just add this to disable WordPress Update function.

Code Snippet:

<?php
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );
?>

Posted in Admin area