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?
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"
If you get syntax error, Probably something happened when you save after delete. Because im using this method all YITH plugins already.
seems they change codes again
just install this plugin
https://wordpress.org/plugins/disable-admin-notices/
enjoy
Which method do you use modify files?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?
Okay, try 2. method.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.
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.
add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
In same file comment that linerepeat for all YITH's pluginsCode:add_action( 'admin_menu', array( $this, 'add_submenu_page' ), 99 );
did you made all YITH's plugins?
It should be placed yith-plugin-licence.php
https://babia.to/resources/yith-woocommerce-multi-vendor.147/
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 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>'; }
hey bro, this is no longer in that PHP file, is there any new method? cheersJust 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
//return apply_filters( 'yith_plugin_fw_show_eciton_esnecil_etavitca', $show_license_notice );
//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' );
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.