Using wpo_wcpdf_after_item_meta correctly
-
Hey Ewout,
I have a quick question regarding this hook:add_action( 'wpo_wcpdf_after_item_meta', 'custom_wpo_wcpdf_after_item_meta', 10, 3); function custom_wpo_wcpdf_after_item_meta($type, $item, $order) { echo "<span>Test</span>"; }
Once I do this and I click on the PDF Invoice button in the order overview list, a new tab opens and the invoice is displayed in my browser window – there is no PDF generated that is downloaded automatically. Once I deactivate this action, the pdf is generated and downloaded.
Do you know why this happens and how I can use it correctly?
Thanks.
Edit: Can be deleted, there was another server error occurring.
- The topic ‘Using wpo_wcpdf_after_item_meta correctly’ is closed to new replies.