---
id: gravityview_clear_form_cache
title: "Action - gravityview_clear_form_cache"
sidebar_label: "gravityview_clear_form_cache"
---

# Action: gravityview_clear_form_cache

Fires the GravityView cache blocklist action for this form so any active View caches are invalidated before the next page load.

Using do_action directly keeps this a soft dependency: if GravityView is not installed, nothing listens and the call is a no-op.

### Source

Defined in `src/Voting/Voting.php` at line 296

