Websnippetz

Get cool snippets on php, css, jQuery, Magento and wordpress

Disable wordpress plugin update notification

We can disable wordpress plugin update notification within 2 lines of code. Just add the below code in functions.php.

<br /><br />   remove_action( 'load-update-core.php', 'wp_update_plugins' );<br />   add_filter( 'pre_site_transient_update_plugins', create_function( '$a', &quot;return null;&quot; ) );<br /><br />

karthi s

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: