Tosunkaya.com

How do I remove TGMPA from my theme/plugin? [Remove “There is an update available for” Nag]

If your theme or plugin no longer needs TGM Plugin Activation (TGMPA) support, then these are the steps you need to take to remove TGMPA. Some initiative may be needed depending on how the theme or plugin author has added it in, and it is assumed you are comfortable editing PHP files / FTP as needed.

  1. Find and delete the plugin registration function. It will look something like:

    There should only be one instance of tgmpa( or tgmpa_register in your theme or plugin (other than the TGMPA class file), so search for that. The registration function may be with other code in functions.phpinit.php or a separate file such as include/tgmpa.php or other file.

  2. Find and delete the require_once() call that references the TGMPA class file:

    The file name is almost certainly unique, so search your theme or plugin for that. The theme or plugin author may have used requireinclude or include_once instead of require_once, and they may have added extra ( ) around the file path.

  3. Find and delete the TGMPA class file. Since the class file is no longer referenced, the whole class-tgm-plugin-activation.php file (or equivalent if renamed) can be deleted from your theme or plugin.

With the plugins registration, the class file reference, and the class file itself all removed, your theme or plugin will no longer be using TGMPA.

Remove “There is an update available for” From Feedzy

feedzy-rss-feeds-pro/includes/admin/feedzy-rss-feeds-pro-admin.php

Remove or comment

5/53526 oy

Emre Tosunkaya

Kendini İnternete adamış bir tekno kişi. Teknoloji ve İnternet adına; WordPress, Webmaster, Android, Google, mobil, oyun, yazılım hakkında insanlara yararlı makaleler yazar.

  • Kuponla.com İndirim Kuponları
  • Uzman Diyetisyen Semiye Tosunkaya
  • Güzel Hosting, 2008'den beri kaliteli ve ekonomik paylaşımlı hosting, kiralık sunucu, sanal sunucu ve co-location hizmetleri sağlamaktadır.
  • Turhost: Türkiye'nin Lider Hosting ve Domain Servis Sağlayıcısı
  • n11.com - Alışverişin Uğurlu Adresi
  • En Trend Ürünler Türkiye'nin Online Alışveriş Sitesi Amazon'da
Kuponla.com İndirim Kuponları Binance %10 Komisyon İndirimi TRBinance %10 Komisyon İndirimi Amazon Amazon 50₺ indirim kodu Trendyol Güncel İndirim Kodları