add_action('save_post', array($this, 'purge_post_on_update'), 10, 1);
add_action('save_post', array($this, 'purge_archive_pages_on_post_update'), 10, 1);
add_action('wp_trash_post', array($this, 'purge_post_on_update'), 10, 1);
add_action('comment_post', array($this, 'purge_post_on_comment'), 10, 3);
add_action('wp_set_comment_status', array($this, 'purge_post_on_comment_status_change'), 10, 1);
add_action('edit_terms', array($this, 'purge_related_elements_on_term_updated'), 10, 2);
add_action('set_object_terms', array($this, 'purge_related_elements_on_post_terms_change'), 10, 6);
add_action('wpo_cache_config_updated', array($this, 'cache_config_updated'), 10, 1);
add_action('wp_insert_comment', array($this, 'comment_inserted'), 10, 2);
add_action('import_start', array($this, 'remove_wp_insert_comment'));
add_action('update_option_page_on_front', array($this, 'purge_cache_on_homepage_change'));
add_action('update_option_page_for_posts', array($this, 'purge_cache_on_blog_page_change'), 10, 2);
add_action('woocommerce_variation_set_stock', array($this, 'purge_product_page'), 10, 1);
add_action('woocommerce_product_set_stock', array($this, 'purge_product_page'), 10, 1);