I need filter for invoiced orders
-
In order to know if an invoice is generated, you need to use a code like the following?
$invoice = ywpi_get_invoice( $order_id );
if( $invoice && $invoice->generated() ) {
//The invoice is generated
}Only you need to check if the following function exits ywpi_get_invoice and also pass the $order_id.
I need this customization(im using YITH pdf invoice plugin)
- The topic ‘I need filter for invoiced orders’ is closed to new replies.