DownloadPermissionsAdjuster
Class to adjust download permissions on product save.
Description Description
Source Source
File: src/Internal/DownloadPermissionsAdjuster.php
Methods Methods
- adjust_download_permissions — Create additional download permissions for variations if necessary.
- get_download_files_and_permissions — Get the existing downloadable files and download permissions for a given product.
- init — Class initialization, to be executed when the class is resolved by the container.
- maybe_schedule_adjust_download_permissions — Schedule a download permissions adjustment for a product if necessary.