Purpose
Fired when a backend form writes to one of WR’s own metadata tables ({prefix}wr_*). Ordinary data entries in project tables do not fire this action — only WR configuration rows (entities, queries, templates, forms, …).
WR uses this to mark compiled caches (runtime catalog, render plan) as dirty after a configuration edit.
Usage
add_action( 'wr_backend_metadata_saved', array( $this, 'on_wr_metadata_change' ), 10, 3 );Parameters
$table (string): The prefixed table that was written (e.g.wp_wr_query).$context (string): Reserved, currently empty.$op (string): The write operation that was performed (e.g.insert,update).
Use Case
Invalidate plugin-side caches that are compiled from WR configuration, without having to hook every single form.
