Changeset 3197797
- Timestamp:
- 11/27/2024 04:28:07 AM (16 months ago)
- Location:
- pdf-for-wpforms/trunk
- Files:
-
- 2 edited
-
backend/settings.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pdf-for-wpforms/trunk/backend/settings.php
r3190878 r3197797 28 28 $url = $upload_dir['baseurl'] . '/'.$uploads_folder.'/'; 29 29 do { 30 $rand_max = mt_getrandmax();31 30 $rand = self::generateRandomString(); 32 31 $dir_new = path_join( $dir, $rand ); … … 34 33 } while ( file_exists( $dir_new ) ); 35 34 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; 39 40 } 40 41 public static function destroy_all_files($dirPath=null) { -
pdf-for-wpforms/trunk/readme.txt
r3195301 r3197797 4 4 Requires at least: 2.0 5 5 Tested up to: 6.7 6 Stable tag: 4. 4.26 Stable tag: 4.5.0 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 85 85 86 86 == Changelog == 87 = 4.5.0 = 88 - Add: Add hook save PDF 89 87 90 = 4.4.1 = 88 91 - Fixed: Shorcode [pdf_download]
Note: See TracChangeset
for help on using the changeset viewer.