Changeset 3007812
- Timestamp:
- 12/10/2023 05:59:47 PM (2 years ago)
- Location:
- bulk-attachment-download
- Files:
-
- 2 edited
-
tags/1.3.8/readme.txt (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bulk-attachment-download/tags/1.3.8/readme.txt
r2987448 r3007812 4 4 Requires at least: 4.6.1 5 5 Tested up to: 6.4 6 Stable tag: 1.3. 76 Stable tag: 1.3.8 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 100 100 as only a single default password can be set using the plugin settings. 101 101 * `jabd_file_path_rel_to_uploads`. Used to amend the path of an attachment relative to the uploads folder. 102 * `jabd_include_original_file`. Used to include or exclude the original file. Example to exclude the original : 103 ``` 104 add_filter( 'jabd_include_original_file', 'mytheme_remove_original_file', 10, 2 ); 105 function mytheme_remove_original_file( $include, $image_post ) { 106 return false; 107 } 108 ``` 109 NB if you exclude the original and don't select intermediate files sizes, you have nothing to download ! 110 111 * `jabd_include_intermediate_image_size`. Used to include or exclude intermediate image size. Example to include only medium and large sizes : 112 ``` 113 add_filter( 'jabd_include_intermediate_image_size', 'mytheme_amend_int_sizes', 10, 3 ); 114 function mytheme_amend_int_sizes( $include, $int_size, $image_post ) { 115 return in_array( $int_size, ['medium', 'large'] ); 116 } 117 ``` 102 118 103 119 == Screenshots == … … 108 124 109 125 == Changelog == 126 127 = 1.3.8 = 128 129 Release date: 10 December 2023 130 131 * Enhancement: Add filters to allow management of which images sizes to include in download. 132 * Enhancement: Modify popup to allow download directly without navigation to all downloads screen. 110 133 111 134 = 1.3.7 = -
bulk-attachment-download/trunk/readme.txt
r2987448 r3007812 4 4 Requires at least: 4.6.1 5 5 Tested up to: 6.4 6 Stable tag: 1.3. 76 Stable tag: 1.3.8 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 100 100 as only a single default password can be set using the plugin settings. 101 101 * `jabd_file_path_rel_to_uploads`. Used to amend the path of an attachment relative to the uploads folder. 102 * `jabd_include_original_file`. Used to include or exclude the original file. Example to exclude the original : 103 ``` 104 add_filter( 'jabd_include_original_file', 'mytheme_remove_original_file', 10, 2 ); 105 function mytheme_remove_original_file( $include, $image_post ) { 106 return false; 107 } 108 ``` 109 NB if you exclude the original and don't select intermediate files sizes, you have nothing to download ! 110 111 * `jabd_include_intermediate_image_size`. Used to include or exclude intermediate image size. Example to include only medium and large sizes : 112 ``` 113 add_filter( 'jabd_include_intermediate_image_size', 'mytheme_amend_int_sizes', 10, 3 ); 114 function mytheme_amend_int_sizes( $include, $int_size, $image_post ) { 115 return in_array( $int_size, ['medium', 'large'] ); 116 } 117 ``` 102 118 103 119 == Screenshots == … … 108 124 109 125 == Changelog == 126 127 = 1.3.8 = 128 129 Release date: 10 December 2023 130 131 * Enhancement: Add filters to allow management of which images sizes to include in download. 132 * Enhancement: Modify popup to allow download directly without navigation to all downloads screen. 110 133 111 134 = 1.3.7 =
Note: See TracChangeset
for help on using the changeset viewer.