Ready to get started?Download WordPress


Contact Form 7 Modules
Integrating PDF Hook (1 post)

  1. abehjat
    Posted 1 year ago #

    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 (http://www.mpdf1.com/mpdf/index.php). 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,


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.