post_type, ['wp_block', 'wp_template', 'wp_template_part', 'wp_navigation', 'elementor_library', 'et_pb_layout'], true)) { self::mark(); } } public static function metadata($meta_id, int $id): void { self::changed($id); } public static function term(int $id, int $taxonomy_id, string $taxonomy): void { $object = get_taxonomy($taxonomy); if ($object && $object->public) { self::mark(); } } public static function mark(): void { if (self::$marked) { return; } self::$marked = true; // No parent query, render or network work runs inside a WordPress save. // The changed profile makes SaaS perform its existing keyset scan. A // global revision is conservative when a builder hides its dependency // graph; unchanged rendered text reuses its existing embeddings. update_option('chat4u_render_revision', wp_generate_uuid4(), false); Chat4U_Changes::render_changed(); } }