This function will recursivly delete directories and files inside the said path but it will not delete the path itself. The method takes into account the number of days since the file was created or updated If it is equal or more than the number of duration days, then the file will be deleted, else ignored.

Related Posts Plugin for WordPress, Blogger...