0 eventi found.
add_filter( 'frm_pdfs_email_attachment_args', 'add_view_to_attached_pdf', 10, 2 ); function add_view_to_attached_pdf( $pdf_args, $args ) { if($args['form']->id == 3) { //change 5 to the ID of the form $pdf_args['view'] = 1410; // 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; } }
Skip to content