隐藏插件管理的注册提醒

Signed-off-by: HITSword <admin@huayizhiyun.com>
master
HITSword 2020-04-16 16:37:38 +08:00
parent 79406faa22
commit 59bd4c2620
1 changed files with 4 additions and 4 deletions

View File

@ -517,10 +517,10 @@ class RevSliderAdmin extends RevSliderFunctionsAdmin {
}
//check version, latest updates and if registered or not
if(get_option('revslider-valid', 'false') == 'false'){
//activate for updates and support
add_action('after_plugin_row_' . $plugin_id, array('RevSliderAdmin', 'show_purchase_notice'), 10, 3);
}
// if(get_option('revslider-valid', 'false') == 'false'){
// //activate for updates and support
// add_action('after_plugin_row_' . $plugin_id, array('RevSliderAdmin', 'show_purchase_notice'), 10, 3);
// }
if($add){
add_action('after_plugin_row_' . $plugin_id, array('RevSliderAdmin', 'add_notice_wrap_post'), 10, 3);