How to add current time versioning of enqueue files . - WPTRINITY

How to add current time versioning of enqueue files .

when you need current time versioning of your enqueue file in WordPress.
basically current time versioning file needs when you find your apply changes in CSS and js not apply on the website. basically this problem is due to cache on the site and pages.

Way to solve the problem side :
1. Refresh your site cache.
2. Refresh your server cache.
3. Change the file name and enqueue changes file in the function.php again and remove the old one.
4. Versioning of file with the current date.

Leave a Comment

Your email address will not be published. Required fields are marked *