Passer au contenu Passer à la barre latérale

Marqué : 

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par wolfgangH-13 Il y a 1 année et 12 mois.

Assisté par: Long Nguyen.

Auteur Messages
août 10, 2023 à 3:40 am #14178997

wolfgangH-13

I have a code that being translated and found in String Translation but it's not been translated in place

add_filter( 'woocommerce_email_subject_customer_processing_order', 'change_processing_mail_subject', 10, 2 );
function change_processing_mail_subject( $subject, $order ) {
global $woocommerce;
$items = $order->get_items();
foreach ( $items as $item ) {
$product_name = $item->get_name();
}
$subject = __('Your registration for the course ').$product_name;
return $subject;
}