report message when litespeed_purge_all has run

[ad_1]

Hi – i am using cron to purge the site:

if (class_exists('\LiteSpeed\Purge')) {
do_action('litespeed_purge_all');
}

Is there a filter to return a report message when the function has successfully been executed? I know, that when debug is activ, the report can be viewed in the debug.log, but i rather would bring the report into the cron-job an add it to an e-mail. Thanks – regards

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer