Add your custom data to the backend JS
add_filter(‘frm_acf_backend_js_data’, ‘acf_backend_js_data’, 10, 2}; function acf_backend_js_data( $data, $args ) { $data[‘form_action_id’] = $args[‘form_action’]->ID; $data[‘strings’][‘custom_string’] = ‘Your custom string’; $data[‘custom_data’] = ‘Your custom data’; return $data; }Continue reading