Plugin Directory

Changeset 3197797


Ignore:
Timestamp:
11/27/2024 04:28:07 AM (16 months ago)
Author:
rednumber
Message:

update 2

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

Legend:

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

    r3190878 r3197797  
    2828        $url = $upload_dir['baseurl'] . '/'.$uploads_folder.'/';   
    2929        do {
    30             $rand_max = mt_getrandmax();
    3130            $rand = self::generateRandomString();
    3231            $dir_new = path_join( $dir, $rand );
     
    3433        } while ( file_exists( $dir_new ) );
    3534        if ( wp_mkdir_p( $dir_new ) ) {
    36             return array("path"=>$dir_new."/","url"=>$url_new."/");
    37         }
    38         return array("path"=>$dir,"url"=>$url);;
     35            $folder = apply_filters("yeepdf_folder_save",array("path"=>$dir_new."/","url"=>$url_new."/"));
     36            return $folder;
     37        }
     38        $folder = apply_filters("yeepdf_folder_save",array("path"=>$dir,"url"=>$url));
     39        return $folder;
    3940    }
    4041    public static function destroy_all_files($dirPath=null) {
  • pdf-for-wpforms/trunk/readme.txt

    r3195301 r3197797  
    44Requires at least: 2.0
    55Tested up to: 6.7
    6 Stable tag: 4.4.2
     6Stable tag: 4.5.0
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    8585
    8686== Changelog ==
     87= 4.5.0 =
     88- Add: Add hook save PDF
     89
    8790= 4.4.1 =
    8891- Fixed: Shorcode [pdf_download]
Note: See TracChangeset for help on using the changeset viewer.