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?
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://babiato.tech/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 WPI 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' );