/*Wedgets Status*/
function change_add_to_cart_message( $translated, $text, $domain ) {
global $pagenow;
if( $text === \'WooCommerce Status\' && $domain === \'woocommerce\' && is_admin() && $pagenow === \'index.php\' ){
$translated = __( \'Resumo de Vendas\', $domain );
}
return $translated;
}
add_filter( \'gettext\', \'change_add_to_cart_message\', 10, 3 );
/*Wedgets Reviews*/
function woocommerce_dashboard_recent_reviews( $translated, $text, $domain ) {
global $pagenow;
if( $text === \'WooCommerce Recent Reviews\' && $domain === \'woocommerce\' && is_admin() && $pagenow === \'index.php\' ){
$translated = __( \'Avaliações de Produtos\', $domain );
}
return $translated;
}
add_filter( \'gettext\', \'woocommerce_dashboard_recent_reviews\', 10, 3 );