How To Remove YITH Plugins Licensing Nag

unicorn

Well-known member
Babiato Lover
Trusted Uploader
Feb 23, 2019
1,305
467
83
Neverland
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.
 

guguk

Well-known member
Jul 19, 2019
1,148
828
113
Ottoman Empire
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: 74

unicorn

Well-known member
Babiato Lover
Trusted Uploader
Feb 23, 2019
1,305
467
83
Neverland
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
 

unicorn

Well-known member
Babiato Lover
Trusted Uploader
Feb 23, 2019
1,305
467
83
Neverland
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

unicorn

Well-known member
Babiato Lover
Trusted Uploader
Feb 23, 2019
1,305
467
83
Neverland
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: 40

unicorn

Well-known member
Babiato Lover
Trusted Uploader
Feb 23, 2019
1,305
467
83
Neverland
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://babiato.tech/resources/yith-woocommerce-multi-vendor.147/
 

wmswina

Member
Mar 12, 2019
88
75
18
localhost
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>';
}
 

SteveClarkApp

Member
Babiato Fan
Jun 10, 2019
71
32
18
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: tanierlyons

bl4ckholes

Member
Nov 14, 2019
59
17
8
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
 

Richard1x

New member
Apr 18, 2019
7
1
3
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 );
}
 

Lucyna Kushinada

Active member
Trusted Uploader
Oct 1, 2019
121
65
28
Night City
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:

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu