• 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)

    • This topic was modified 1 year, 11 months ago by grich101.
    • This topic was modified 1 year, 11 months ago by grich101.
  • The topic ‘I need filter for invoiced orders’ is closed to new replies.