Apply a view for the attached PDF
add_filter( ‘frm_pdfs_email_attachment_args’, ‘add_view_to_attached_pdf’, 10, 2 ); function add_view_to_attached_pdf( $pdf_args, $args ) { $pdf_args[‘view’] = 10; // ID of view. $pdf_args[‘id’] = $args[‘entry’]->id; // Do this to show the detail view, otherwise, it shows the listing view. return $pdf_args; }Continue reading