purge hooks
-
Hi – in api.cls.php you provide a list of purge hooks. I tried this one:
add_action('litespeed_purge_all', __NAMESPACE__ . '\Purge::purge_all');
//test
add_action('litespeed_purge_all', 'test'.'\Purge::purge_all');
function test(){
echo 'test';
}Nothing’s happening. How can i make use of this hook? By the way in the list mentioned above i couldn’t find a hook for ?do_action(‘litespeed_purged_all’)?. Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.