'button frm-button-secondary frm-button-sm frm_noallow frm_show_upgrade', 'data-upgrade' => __( 'Email attachments', 'formidable' ), 'data-message' => __( 'Attach a file of your choice to every email this form sends.', 'formidable' ), 'data-medium' => 'email-attachment-file', 'data-content' => 'attachment-file', ); $toggle_upsells = array( array( 'id' => 'frm_attach_csv_' . $action_key, 'label' => __( 'Attach CSV export of entry to email', 'formidable' ), 'data-upgrade' => __( 'CSV email attachments', 'formidable' ), 'data-message' => __( 'Attach a CSV export of each new entry to the email.', 'formidable' ), 'data-medium' => 'email-attachment-csv', 'data-content' => 'attachment-csv', ), array( 'id' => 'frm_attach_pdf_' . $action_key, 'label' => __( 'Attach PDF of entry to email', 'formidable' ), 'data-upgrade' => __( 'Forms to PDF', 'formidable' ), 'data-message' => __( 'Attach a PDF of each new entry to the email.', 'formidable' ), 'data-medium' => 'email-attachment-pdf', 'data-content' => 'attachment-pdf', ), ); $pdf_addon = FrmAddonsController::install_link( 'pdfs' ); $pdf_plan = FrmFormsHelper::get_plan_required( $pdf_addon ); if ( $pdf_plan ) { $toggle_upsells[1]['data-requires'] = $pdf_plan; } ?>