Support

Account

Home Forums Add-ons Options Page Clear WP Super Cache on Update Reply To: Clear WP Super Cache on Update

  • you can add and acf/save_post action

    
    add_action('acf/save_post', 'clear_cache_on_options_save');
    function clear_cache_on_options_save($post_id) {
      // you can check for options or not
      if ($post_id == 'options') {
        wp_cache_clear_cache();
      }
    }