Support

Account

Home Forums General Issues Dynamically create vcard from ACF data and download with button click? Reply To: Dynamically create vcard from ACF data and download with button click?

  • Hi @shawnrosspeters

    Just unset the two header lines in the main function. That is the cause of the problem.

    //header('Content-type: text/x-vcard; charset=utf-8');
    //header("Content-Disposition: attachment; filename=".$filename);