• Hi,
    Possible to add an action when an administrator click on the clear cache (or wipe) button?

    example:

    
    add_action('clearing_comet_cache_or_wipe', function() {
        wp_mail('me@example.com', 'clearing cache', 'the cache is clear.');
    });
    
  • The topic ‘add_action when clearing cache’ is closed to new replies.