Modify Minified CSS by Calling the Function Hook

by admin

You can write your own function that will modify the content of minified or combined css sources before saving.

add_filter('wpfc_css_content', "your_function", 10, 1);

function your_function($content){
	//you can run whatever you want
	return $content
}

Related articles

Placeholder Image
Executing a Function After Clearing All Cache

You can write your own function that will work after the cache is cleared.

Placeholder Image
How to Remove the Footer Comment

By default, WP Fastest Cache adds an HTML comment in the page footer that indicates when and for how long…

Create a Post Cache by ID Using the Function Hook
Create a Post Cache by ID Using the Function Hook

This function is designed for manually creating page caches.

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.