Purpose

Fired once a data bundle import has committed. When this action runs, the database matches the imported bundle — caches that were compiled from the previous state (runtime catalog, render plan, dynamic options) are stale and get invalidated by WR’s own subscribers.

Usage

add_action( 'wr_bundle_imported', array( $this, 'on_bundle_imported' ) );

No parameters are passed.

Use Case

Child plugins that keep their own compiled/cached state derived from WR configuration should subscribe and invalidate it here — the same way WR’s runtime catalog does.

See also wr_bundle_synced and wr_bundle_bootstrap_written for the other two moments a bundle changes the database.