Support » Plugin: Contact Form 7 Modules » Integrating PDF Hook

  • This is a wonderful plugin. Thank you very much for introducing it.

    I would like to add a PDF hook – based on the hook function, it would be a add_filter – where the data is captured, transformed into PDF from HTML, and then sent to the CRM as an attachment.

    I’ve used MPDF before ( Any recommendations you guys have based on your experience on what modules you would recommend?

    For MPDF, all I need to do is a function as such:

    $mpdf=new mPDF();
    //capture all CF7 Fields into var $html
    $content = $mpdf->Output('', 'S'); //basically, save the output as string
    $content = chunk_split(base64_encode($content)); //to have it emailed

    How can I return the $content to one of the fields or as “Is Value?”

    Thank you,

  • The topic ‘Integrating PDF Hook’ is closed to new replies.