Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dct_remove_core_updates(){
- global $wp_version;
- return(object) array('last_checked'=> time(),'version_checked'=> $wp_version,);
- }
- add_filter('pre_site_transient_update_core','dct_remove_core_updates');
- add_filter('pre_site_transient_update_plugins','dct_remove_core_updates');
- add_filter('pre_site_transient_update_themes','dct_remove_core_updates');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement