Hello there,
I want to put a piece of php in one of my templates that will manually clear all expression engine caches. I’ve found the relevant function in the docs (see below) but I can’t for the life of me make it work. Can you help me?
Ideally I need a complete code sample that includes everything I need to make this work.
clear_caching(which [str], sub-directory [str], relationships [bool])