Disable WordPress Update

<?php add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) ); ?>
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.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.