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
Cloudflare Enable Browser Cache

You can enable Leverage Browser Caching on the settings page of WP Fastest Cache but if you are using Cloudflare,…

WP Fastest Cache Cloudflare
WP Fastest Cache Cloudflare

WP Fastest Cache is totally compatible with Cloudflare. In order to minimize potential conflicts, you need to Cloudflare cdn integration.

Placeholder Image
Cloudflare Hotlink Protection

If the hotlink protection of Cloudflare has been enabled, the image optimization feature does not work. In this case, you…

Ready to get started?

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