Plugin Directory

Changeset 3007812


Ignore:
Timestamp:
12/10/2023 05:59:47 PM (2 years ago)
Author:
janwyl
Message:

Release version 1.3.8

Location:
bulk-attachment-download
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bulk-attachment-download/tags/1.3.8/readme.txt

    r2987448 r3007812  
    44Requires at least: 4.6.1
    55Tested up to: 6.4
    6 Stable tag: 1.3.7
     6Stable tag: 1.3.8
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    100100as only a single default password can be set using the plugin settings.
    101101* `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```
     104add_filter( 'jabd_include_original_file', 'mytheme_remove_original_file', 10, 2 );
     105function mytheme_remove_original_file( $include, $image_post ) {
     106    return false;
     107}
     108```
     109NB 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```
     113add_filter( 'jabd_include_intermediate_image_size', 'mytheme_amend_int_sizes', 10, 3 );
     114function mytheme_amend_int_sizes( $include, $int_size, $image_post ) {
     115    return in_array( $int_size, ['medium', 'large'] );
     116}
     117```
    102118
    103119== Screenshots ==
     
    108124
    109125== Changelog ==
     126
     127= 1.3.8 =
     128
     129Release 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.
    110133
    111134= 1.3.7 =
  • bulk-attachment-download/trunk/readme.txt

    r2987448 r3007812  
    44Requires at least: 4.6.1
    55Tested up to: 6.4
    6 Stable tag: 1.3.7
     6Stable tag: 1.3.8
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    100100as only a single default password can be set using the plugin settings.
    101101* `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```
     104add_filter( 'jabd_include_original_file', 'mytheme_remove_original_file', 10, 2 );
     105function mytheme_remove_original_file( $include, $image_post ) {
     106    return false;
     107}
     108```
     109NB 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```
     113add_filter( 'jabd_include_intermediate_image_size', 'mytheme_amend_int_sizes', 10, 3 );
     114function mytheme_amend_int_sizes( $include, $int_size, $image_post ) {
     115    return in_array( $int_size, ['medium', 'large'] );
     116}
     117```
    102118
    103119== Screenshots ==
     
    108124
    109125== Changelog ==
     126
     127= 1.3.8 =
     128
     129Release 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.
    110133
    111134= 1.3.7 =
Note: See TracChangeset for help on using the changeset viewer.