0

We have a data URL string of PNG image file here and we can pass it via AJAX to a PHP function via button click.

Now is it possible to convert it back as image file and add as an attachment to wp_mail()?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.