PDFs won’t save
-
I already have set the Always Save PDF to Yes on the settings but it’s not showing up on /wp-content/uploads/PDF_EXTENDED_TEMPLATES/tmp
I also created a code that will save a copy of the pdf on a different folder but it doesn’t seem to work also
function gfpdfe_post_pdf_save($form_id, $lead_id, $arguments, $filename) { $pdf_name = basename($filename); if($form_id == '1') { $form = RGFormsModel::get_form_meta($form_id); $form_title = $form['title']; GFCommon::log_debug( 'patlog: form title: ' . $form_title ); GFCommon::log_debug( 'patlog: pdf name: ' . $pdf_name ); copy($filename, '/' . $form_title. '/' . $pdf_name); } } add_action('gfpdf_post_pdf_save', 'gfpdfe_post_pdf_save', 10, 4);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘PDFs won’t save’ is closed to new replies.