How to Hide WordPress upgrade notices using php

To Hide WordPress upgrade notices we can use the wordpress filter below. Copy the below code and paste in function.php in your theme file.

add_filter('pre_site_transient_update_core', create_function( '$a', "return null;" ));

Share With Friends

Also Read   add odd or even class in wordpress loop using php

Speak Your Mind


Time limit is exhausted. Please reload CAPTCHA.