• I have to change

    do_action( ‘dlm_email_customer_deliver_licenses’, $order->get_id(), $order );

    to

    WC()->mailer()->emails[‘DLM_ResendOrderLicenses’]->trigger($order->get_id(), $order);

    After that the code works fine.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Resend Licenses not working’ is closed to new replies.