Forum Moderators: coopster
<?php if ( $order->needs_payment() ) { ?>
<p>
<?php
printf(
wp_kses(
/* translators: %1$s Site title, %2$s Order pay link */
__( 'Voici le récapitulatif de votre commande effectuée sur %1$s. Veuillez procéder au règlement de la facture via ce lien sécurisé: %2$s Here is the summary of your order made on %1$s. Please proceed to the payment of the invoice via this secure link: %2$s', 'woocommerce' ),
array(
'a' => array(
'href' => array(),
),
)
),
esc_html( get_bloginfo( 'name', 'display' ) ),
'<a href="' . esc_url( $order->get_checkout_payment_url() ) . '">' . esc_html__( 'Payer pour cette commande - Pay for this order', 'woocommerce' ) . '</a>'
);
?>
</p> if you’re outputting html--as implied by the <a href>
<p>Voici le récapitulatif de votre commande effectuée sur XXX. Veuillez procéder au règlement de la facture via ce lien sécurisé : Payer pour cette commande</p>
<p>Pay for this order. Here is the summary of your order made on XXX. Please proceed to the payment of the invoice via this secure link:</p>
I am a complete beginner to programming
wp_kses(
/* translators: %1$s Site title, %2$s Order pay link */
__( '<p>Voici le récapitulatif de votre commande effectuée sur %1$s. Veuillez procéder au règlement de la facture via ce lien sécurisé:<br>%2$s</p>
<p>Here is the summary of your order made on %1$s. Please proceed to the payment of the invoice via this secure link:<br>%2$s</p>', 'woocommerce'),
array(
'a' => array(
'href' => array(),
), 'p' => array(), 'br' => array()
)