PDF e-mail attachments are not being deleted
-
The pdf invoices that are being sent with the order complete email are saved in /uploads/wpo_wcpdf/attachments and are not deleted anymore automatically after the mail is sent.
I’m not sure what the problem here might be. Maybe this commented code – found in class-wcpdf-main.php – is part of it:
// scheduled attachments cleanup – disabled for now
// add_action( ‘wp_scheduled_delete’, array( $this, ‘attachments_cleanup’) );But since I can’t find anybody else complaining about it, i fear i’m the only one with this problem.
Maybe you could have a look and clear this up?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PDF e-mail attachments are not being deleted’ is closed to new replies.