The below code will delete pub/media/tmp directory and sub directory all files which is older than one month.By the help of core php function.
You may also like
I was reading this article where the author shows how to configure both varnish and redis for Magento 2. In the first […]
How to set limit of product’s swatches on category listing page. I have to show 5 swatches of the product on category […]
I have WSL2 installed on Windows 11, it’s been installed and working for several years already, with the previous 2 LTS versions […]
Learn how easily you can build your own content management system that makes editing and updating your single-page website easy. Continue reading […]