• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

How To Remove YITH Plugins Licensing Nag

If you get syntax error, Probably something happened when you save after delete. Because im using this method all YITH plugins already.

can you teach me to solve this problem sir?
 
Which method do you use modify files?
1- Change &save on FTP's software
2- Download that file to computer change & save and transfer again to FTP?

i edited from plugin editor on wp dashboard sir.
 
i edited from plugin editor on wp dashboard sir.
Okay, try 2. method.
Use Filezilla for connection your web files. And download yit-plugin-licence.php find that line and comment with "/*" do not delete these lines. It should be like attachment.
Repeat all YITH plugins that otherwise it wont work.
 

Attachments

  • 12.jpg
    12.jpg
    34.1 KB · Views: 84
Okay, try 2. method.
Use Filezilla for connection your web files. And download yit-plugin-licence.php find that line and comment with "/*" do not delete these lines. It should be like attachment.
Repeat all YITH plugins that otherwise it wont work.

ok i will try sir
 
Okay, try 2. method.
Use Filezilla for connection your web files. And download yit-plugin-licence.php find that line and comment with "/*" do not delete these lines. It should be like attachment.
Repeat all YITH plugins that otherwise it wont work.

it's working.. thank you very much sir.. 🙏🙏
 
  • Like
Reactions: guguk
In same file comment that line
Code:
add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
repeat for all YITH's plugins
 
  • Like
Reactions: unicorn and Babak
In same file comment that line
Code:
add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
repeat for all YITH's plugins

can you say which line is it sir? i can't find it. 🙏🙏
 

Attachments

  • yit-licence.zip
    6.9 KB · Views: 77
did you made all YITH's plugins?
It should be placed yith-plugin-licence.php
 
did you made all YITH's plugins?
It should be placed yith-plugin-licence.php

i can't find in that file sir. i'm sorry..

i used YITH WooCommerce Multi Vendor with latest version from here:

Code:
https://babia.to/resources/yith-woocommerce-multi-vendor.147/
 
After many times use YITH plugin, as the developer keeps changing the code and use abstract functions in WP :rolleyes: I stumble upon a "dirty" hack.. all I do is hide the License Nag using CSS. I just add some code in theme's functions.php, and voila 🤓 the nag disappear..
Code:
add_action('admin_head', 'hide_yith_nag');
function hide_yith_nag() {
    echo '<style>
    .yith-license-notice,
    .toplevel_page_yith_plugin_panel li:last-child {
        display: none;
    }
    </style>';
}
 
After many times use YITH plugin, as the developer keeps changing the code and use abstract functions in WP :rolleyes: I stumble upon a "dirty" hack.. all I do is hide the License Nag using CSS. I just add some code in theme's functions.php, and voila 🤓 the nag disappear..
Code:
add_action('admin_head', 'hide_yith_nag');
function hide_yith_nag() {
    echo '<style>
    .yith-license-notice,
    .toplevel_page_yith_plugin_panel li:last-child {
        display: none;
    }
    </style>';
}

Perfect, thanks for this, works like a dream :)
 
  • Like
Reactions: Babak
I've tried all the methods above, but this warning still appears, is there any that work for this ??
Is this enough if I update?

27451
 
Just comment this line (87) like this at /wp-content/plugins/yith-woocommerce-order-tracking-premium/plugin-upgrade/lib:

/** @since 3.0.0 */
if( version_compare( PHP_VERSION, '7.0', '>=' ) ) {
add_action( 'admin_notices', function () {
// $this->eciton_esnecil_etavitca();
}, 15 );
}
 
Just simple to do as following

In the file plugin-slug/plugin-fw/licence/lib/yit-plugin-licence.php
On Line 81 Find These Codes:
PHP:
add_action( 'admin_notices', function () {
$this->activate_license_notice();
}, 15 );

and comment it out like this:
PHP:
//add_action( 'admin_notices', function () {
//$this->activate_license_notice();
//}, 15 );

thats it! enjoy
hey bro, this is no longer in that PHP file, is there any new method? cheers

EDIT: NVM, found out myself you have to comment this line 107 in the file:

plugin-slug/plugin-upgrade/lib/yit-plugin-licence.php

PHP:
//return apply_filters( 'yith_plugin_fw_show_eciton_esnecil_etavitca', $show_license_notice );

if you want to hide other sh** as well, comment these lines in the same file from 73 to 77:

PHP:
//add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
//add_action( "wp_ajax_yith_activate-{$this->_product_type}", array( $this, 'activate' ) );
//add_action( "wp_ajax_yith_deactivate-{$this->_product_type}", array( $this, 'deactivate' ) );
//add_action( "wp_ajax_yith_update_licence_information-{$this->_product_type}", array( $this, 'update_licence_information' ) );
//add_action( 'yit_licence_after_check', 'yith_plugin_fw_force_regenerate_plugin_update_transient' );

you can "comment" it by adding // at the start of each line for those who don't know PHP
 
Last edited:
  • Like
Reactions: misingboy and Babak
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock