Executing a Function After Clearing All Cache

by admin

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

add_action('wpfc_delete_cache', "your_function");

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

Related articles

Placeholder Image
Exclude Urls by Calling the Function Hook

It is very simple to exclude any url from the cache. You can call the following function in a theme…

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.

Placeholder Image
Modify Minified CSS by Calling the Function Hook

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

Ready to get started?

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