Plugin Directory

Changeset 3194297


Ignore:
Timestamp:
11/21/2024 03:47:35 PM (17 months ago)
Author:
rednumber
Message:

update 2

Location:
pdf-for-wpforms/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pdf-for-wpforms/trunk/pdf-for-wpforms.php

    r3190878 r3194297  
    44 * Description:  WPForms PDF Customizer is a helpful tool that helps you build and customize the PDF Templates for WPforms.
    55 * Plugin URI: https://add-ons.org/plugin/wpforms-pdf-generator-attachment/
    6  * Version: 4.4.0
     6 * Version: 4.4.1
    77 * Requires PHP: 5.6
    88 * Author: add-ons.org
  • pdf-for-wpforms/trunk/readme.txt

    r3190878 r3194297  
    8585
    8686== Changelog ==
     87= 4.4.1 =
     88- Fixed: Shorcode [pdf_download]
     89
     90
    8791= 4.4.0 =
    8892- Fixed: Do not save PDFs on the server
  • pdf-for-wpforms/trunk/wpforms/index.php

    r3190878 r3194297  
    2727        //add_action( 'wpforms_entries_init', array($this, 'regenerate_pdf' ), 15 );
    2828        add_action( 'wpforms_entry_details_init', array($this, 'wpforms_entry_details_init' ), 15 );
    29     }
     29        add_action( "wpforms_email_send_after", array($this,"yeepdf_remove_all_file"));
     30    }
     31    function yeepdf_remove_all_file(){
     32        $check_settings = get_option("pdf_creator_save_pdf");
     33        if($check_settings == "yes"){
     34            Yeepdf_Settings_Main::destroy_all_files();
     35        }
     36    }
    3037    function add_css_order_summary(){
    3138        ?>
     
    304311                $folder_uploads =Yeepdf_Create_PDF::pdf_creator_preview($data_send_settings_download);
    305312                $attachments[] = $folder_uploads["url"];
     313                update_option( "pdf_download_last", $folder_uploads["url"]);
    306314                foreach($list_notifitions as $notifi){
    307315                    $attachments_notifications[$notifi][] = $folder_uploads["path"];
Note: See TracChangeset for help on using the changeset viewer.