From b0ddab98dbb70ea028c2703485722d5419470b99 Mon Sep 17 00:00:00 2001 From: stenehrlich-tuleva Date: Mon, 25 May 2026 15:16:03 +0300 Subject: [PATCH] Expose savings fund document fields over REST Enable show_in_rest on the group_fund_savings_documents ACF field group so the current TKF document URLs (terms_file, prospectus_file, key_investor_info_file) are readable via the WP REST API. This lets the onboarding-client drift check compare the links shown in the signing flow against the documents published here, instead of scraping the rendered page. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/wp-content/themes/tuleva/helpers/acf/fund-savings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-content/themes/tuleva/helpers/acf/fund-savings.php b/src/wp-content/themes/tuleva/helpers/acf/fund-savings.php index 69c377d6..7da7b331 100644 --- a/src/wp-content/themes/tuleva/helpers/acf/fund-savings.php +++ b/src/wp-content/themes/tuleva/helpers/acf/fund-savings.php @@ -306,6 +306,7 @@ 'label_placement' => 'top', 'instruction_placement' => 'label', 'active' => 1, + 'show_in_rest' => 1, )); endif; \ No newline at end of file