Jun
20
2013
20
2013
Disable upgrade notification
A snippet by admin
No Comments
Perfect for those ‘special’ inherited websites that aren’t forward compatible to prevent clients from breaking a website!
Just add this to your theme functions.php file and rest a bit easier!
add_filter( 'pre_site_transient_update_core', create_function( '$a', "return null;" ) );
Leave a comment
Recent Snippets
- htaccess : Only allow access to specific wordpress upload types if logged in
- MySQL : Query WordPress Database for Invalid Media Filenames
- PHP : Get Actual IP Address with PHP
- JavaScript : Allow Tab in Textarea
- PHP : Clean sanitized database contents on output
- htaccess : Force www. prefix in URIs
- PHP : Force File Download with Correct Content Type
- Wordpress : Disable upgrade notification