hook not working
-
Hello,
Am facing a problem with woo_invoice_before_billing_address hook, it seems not working since the new added field is not showing on the invoice.
This is my code:add_action('woo_invoice_before_billing_address', 'add_salesman_name', 10, 2); function add_salesman_name($order, $template) { $salesman = 'test'; ?> <span>Salesman Name: <?php echo $salesmanName; ?></span> <?php }
Note: am using the latest free version of the plugin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘hook not working’ is closed to new replies.