How To Disable WordPress Plugin Updates

You most likely realize that WordPress Plugin has lots of updates quite often. Sometimes, developer make customization in WordPress plugins so when update occurs, someitmes it could break your website functioning. Your website may not functional proplery.

In such case, WordPress provide provision to disable the plugin updates so it will not show any kind of notification for Plugin Updates in WordPress admin.

You can disable WordPress Plugin updates by two different ways which I have described below in brief.

Note: You need to keep your WordPress Plugins Updated so if you fail for the same then it will might compromise security of your site.

Method 1: By Use of WordPress Plugin

There are hundreds of plugin available for free for this but I would prefer to use Disable WP Plugin Updates Advance plugin because its lightweight and easy to use.

When you use this plugin, you only need to install and active it, and you all done!

For installation instruction, you will find at here or you can email the author too. You can also install this plugin using FileZilla.

While using this plugin, it will disable upates for all installed plugins.

Method 2: Without Using any Plugin

Another method to disable this plugin updates by use of WordPress default hooks & filters.

This method usually hugely accepted by the developer now a days because they can easily do this without knowing to any other person.

Disable WordPress Plugin Updates

Simply copy below code and it to your current theme function.php file.

remove_action('load-update-core.php','wp_update_plugins');
add_filter('pre_site_transient_update_plugins','__return_null');

So you may use this code and have to place the same in your theme function.php file to disable respective updates.

You can also Disable All WordPress Updates by using plugin as well as by coding so click here to read more.

How to add Google Analytic code on your WordPress website

There are two ways to add your Google Analytic code on your WordPress website which I have described below in detail. This article would be useful for the non-technical blogger or website owner who manage their website without help of any developer. Before I explain you how to add analytic code to website, kindly follow the instructions on how to get the Analytic code for your website.

  1. Log in to your Google Analytics account. If you do not have an account, visit: https://www.google.com/analytics to get started. Click the “Create account” option
  2. Select the account with the profile you are trying to locate the tracking code for. You can do this from the “Overview” screen you will see after logging in.
  3. Click “Edit” in the “Actions” column for the profile you have selected.
  4. Click “Check Status” located in the “Main Website Profile Information” menu. This will tell you whether or not the Google Analytics tracking code is properly installed and gathering information about your website.
  5. You need to Scroll down until you see the “Instructions for Adding Tracking” portion of the page. You will find a text box where your tracking code will be displayed which you need to copy for future use.
  6. Copy this code, and paste it directly before the closing head tag that looks like this: </ head >

Now, you have your analytic code for your website, and that you may add to your website using plugin or without plugin.

Method 1: By Using Plugin

Number of plugins are available in market which provides facility to add this code to your website from WordPress backend using plugin. I really like to use Easy Google Analytics WP plugin. It’s quite easy to use this plugin for non-technical users as majority of WordPress users are non-technical who are using WordPress CMS for many different purposes so this is ideal plugin to those users for sure.

  • It has feature to add only Google Analytic Tracking ID
  • Or, you can directly place your copied Google Analytic code in plugin option, and it will automatically placed before closing of your </head> HTML tags on front-end using WordPress hooks or filters.
  • This plugin does is lightweight, it does not include any other or additional script so it will not affect page performance too.

The page loading speed or website performance is vital part in current mobile technology era and this plugin would only load needed resources so performance would not be affected much. To find-out more on page speed, check that out at here How to Improve Your Page Load Speed of WordPress Site?

Method 2: Without Use of any plugin

You do have a copy of Google Analytic Tracking code so you need to paste it into the appropriate section of your website (HTML) code. You may place the same in between in files. You can use FileZila application to access your website files to place this code in file.