Purpose

Fired after the QueryView SQL cache has been invalidated because a query definition was edited in the backend. Subscribers can invalidate their own caches that depend on generated query SQL, or record the event for diagnostics.

Usage

add_action( 'wr_query_view_cache_invalidated', array( $this, 'on_query_cache_flush' ) );

No parameters are passed.