Pruebas
XIV Marcha del Jarama
Nombre /Name:{name}
Ticket Type: {ticket_type}
Fecha / Event Date: {event_date}
Hora / Start Time: {event_time}
[ function woobar_wcpdf_qrcode ($template_type, $order)
{
$order_id=$order->id;
$url = add_query_arg(
[
‘bcid’ => ‘code128’,
‘text’ => $order_id + “852”,
//’alttext’=>$order_id,
‘height’=>5,
‘barcolor’=>’000000’
], ORDERBARCODE_API_ENDPOINT
);
$html=’
‘;
$html.=’
‘;
$html.=’
‘;$html.=’
$html.=’
echo $html;
}//end of function]