Welcome to GPLDL - we are still beta - please report any bugs via the contact form.
this solve this problem forever …
****infelizmente não deu certo*****
Para retirar a mensagem de licença do yith
ir na pasta lib localizar o arquivo yit-licence.php
Trocar da linha 873 a 877 por
/*”>
Warning! You didn’t set license key for the following YITH products: {$product_list} which means you’re missing out on updates and support. Enter your license key, please” )?>
</div>*/
remove this line in yit-licence.php
838 – 862
if ( $this->_show_eciton_esnecil_etavitca() ) {
$products_to_activate = $this->get_to_active_products();
if ( !!$products_to_activate ) {
$product_names = array();
foreach ( $products_to_activate as $init => $product ) {
if ( !empty( $product[ ‘Name’ ] ) )
$product_names[] = $product[ ‘Name’ ];
}
if ( !!$product_names ) {
$start = ‘<span style=”display:inline-block; padding:3px 10px; margin: 0 10px 10px 0; background: #f1f1f1; border-radius: 4px;”>’;
$end = ‘</span>’;
$product_list = ” . $start . implode( $end . $start, $product_names ) . $end . ”;
$activation_url = $this->lru_esnecil_teg();
$c = str_replace( ‘##y2cgKsAXLQ##’, ”, ‘##y2cgKsAXLQ##y##y2cgKsAXLQ##i##y2cgKsAXLQ##t##y2cgKsAXLQ##h##y2cgKsAXLQ##-l##y2cgKsAXLQ##i##y2cgKsAXLQ##c##y2cgKsAXLQ##e##y2cgKsAXLQ##n##y2cgKsAXLQ##s##y2cgKsAXLQ##e##y2cgKsAXLQ##-##y2cgKsAXLQ##n##y2cgKsAXLQ##o##y2cgKsAXLQ##t##y2cgKsAXLQ##i##y2cgKsAXLQ##c##y2cgKsAXLQ##e##y2cgKsAXLQ##’ );
?>
“>
Warning! You didn’t set license key for the following YITH products: {$product_list} which means you’re missing out on updates and support. Enter your license key, please” )?>
</div>
<?php
}
}
}
it works!
Thanks Bintang (y)
You can hide Yith notice by admin css:
my code can’t be added here so anyone understand this code could follow:
use code snippet:
add_action ‘admin_head’ , ‘name your function here’
function ‘name your function here’
echo this:
‘style
.yith-license-notice {display: none;}
div#yith_dashboard_products_news {display: none;}
div#yith_dashboard_blog_news {display: none;}
/style’;