action hook for generate pdf
-
$pdf_url = wp_nonce_url( add_query_arg( array( 'action' => 'generate_wpo_wcpdf', 'document_type' => 'invoice', 'order_ids' => $order->ID, 'my-account' => true, ), admin_url( 'admin-ajax.php' ) ), 'generate_wpo_wcpdf' );
Currently I am using this code to generate pdf with PDF Invoices & Packing Slips for WooCommerce,
How can I change it for print order invoice from frontend.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘action hook for generate pdf’ is closed to new replies.