Hello,
After the update on newer version I cant use my meta keys on this code for another plugin.
add_action( ‘wpo_wcpdf_after_item_meta’, ‘wpo_wcpdf_print_woosea_ean’, 10, 3 );
function wpo_wcpdf_print_woosea_ean ( $template_type, $item, $order )
{
if ( !empty($order) && $template_type == ‘invoice’ ) {
?>
<div class=”_woosea_ean”>
<p style=”font-size:9px; margin-top: -5px”>EAN:
<?php the_field( ‘_woosea_ean’, $item[‘product_id’] ); ?> </p>
</div>
<?php
}
}
Could you help please?
Thanks a lot!
UPDATE: It fixed when I restored version 5.10.2 from backup, please could you check whats the problem?
Thanks.