# Goldnat for WordPress — ACF

- Platform: WordPress
- Edition: paid add-on
- Web page: https://plugins.goldnat.ai/wordpress/wp-acf-ai-connect
- Installation guide: https://plugins.goldnat.ai/wordpress/guide
- Requires: Goldnat for WordPress (https://plugins.goldnat.ai/wordpress/wordpress-plugin.md)

## What you can ask the agent

- "What custom fields does the "Event" post type have?" — The agent lists the ACF field groups and fields attached to it.
- "Fill the "speaker" field on these five posts." — It updates the field value on each post.
- "Find every product where "material" is cotton." — It searches posts by the custom field value.
- "Add a "Location" field to the Event field group." — It adds the field to the group.
- "Copy the custom fields from this post to the new one." — It copies the field values between the posts.
- "What is stored on the theme options page?" — It reads the fields of the ACF options page.

## Install and connect

1. Install the free core plugin first: Goldnat for WordPress (https://plugins.goldnat.ai/wordpress/wordpress-plugin). This plugin runs on top of it.
2. Buy Goldnat for WordPress — ACF at goldnat.ai, download it, and upload it in your WordPress admin panel. Enter the license key you receive.
3. Connect your AI agent: in goldnat.ai (or another compatible agent) add your site address. You are sent to your own WordPress site to log in and approve what the agent may do (read only, or read and write).
4. Ask the agent in plain language. It calls the plugin on your site as you, and shows you the result.
5. Full installation guide with screenshots: https://plugins.goldnat.ai/wordpress/guide

## What the agent can and cannot do

- The agent acts as the WordPress user who connected it. It can never see or change more than that user can.
- You approve the access level when you connect (read only, or read and write), and you can revoke the connection at any time from the plugin page in your admin panel.
- Actions that delete content or cannot be undone ask for an explicit confirmation first.
- Your content stays on your site. The plugin answers the agent's requests directly; it does not copy your site anywhere else.

## Tools

Each tool is called by the agent by name. "write" tools need write access approved at connection.

- `acf.bulkUpdateFieldValue` (write) — Update the same ACF field(s) across multiple posts, pages, users, or terms in a single operation. Filter targets by post type, taxonomy, date range, or existing field values.
- `acf.copyFields` (write) — Copy ACF field values from one post, page, or custom post type to another. Select specific fields to copy or copy all fields from matching field groups.
- `acf.deleteAllFieldValues` (delete) — Delete all ACF field values for a specific post, page, user, or term. Field group configurations remain unchanged but all stored values are cleared.
- `acf.deleteFieldGroup` (delete) — Permanently delete an ACF field group and all its field definitions. All stored field values across posts remain but become orphaned. Admin-level capability required.
- `acf.getOptionsPageFields` (read) — Get all ACF field values from a specific options page by page slug. Returns field keys, names, types, and current global option values.
- `acf.getTermFields` (read) — Get all ACF custom field values for a specific taxonomy term (category, tag, or custom taxonomy). Returns term meta fields with values and types.
- `acf.getUserFields` (read) — Get all ACF custom field values for a specific WordPress user. Returns user meta fields configured through ACF with their current values and types.
- `acf.updateFields` (write) — Update multiple ACF field values for a specific post, page, user, or term in a single operation. Accepts a map of field keys to values and validates each field.
- `acf.updateTermFields` (write) — Update ACF custom field values for a specific taxonomy term. Accepts a map of field keys to values for term meta.
- `acf.updateUserFields` (write) — Update ACF custom field values for a specific WordPress user. Accepts a map of field keys to values for user meta.
- `acf.addField` (write) — Add a field to an existing field group.
- `acf.createFieldGroup` (write) — Create a new ACF field group.
- `acf.deleteFieldValue` (write) — Delete an ACF field value from a post.
- `acf.getFieldGroup` (read) — Get one ACF field group with its fields.
- `acf.getFieldObject` (read) — Get an ACF field object (config + current value) on a post.
- `acf.getFieldsForPost` (read) — Get all ACF field values for a post (name => value map).
- `acf.getFieldValue` (read) — Get the value of one ACF field on a post (by field name or key).
- `acf.listFieldGroups` (read) — List all ACF field groups (key, title, active, location rules).
- `acf.listFields` (read) — List the field definitions inside a field group.
- `acf.searchByFieldValue` (read) — Find posts where an ACF field equals a value.
- `acf.updateFieldGroup` (write) — Update a field group title / active state.
- `acf.updateFieldValue` (write) — Set the value of an ACF field on a post.

## Frequently asked questions

**Which AI agents can I use?**

Our own agent at goldnat.ai, and other AI agents that support the Servio protocol. The list of compatible clients is on this page.

**Can the AI see or change things I can't?**

No. It works as the WordPress user who connected it, with exactly that user's permissions. Connect it with an account that has only the access you want it to have.

**Will it change things without asking?**

Only if you approved write access when you connected it. Deleting or irreversible actions ask for an explicit confirmation.

**How do I disconnect an agent?**

Revoke its connection from the plugin page in your admin panel. The agent loses access immediately.

**Do I also need Goldnat for WordPress?**

Yes. Goldnat for WordPress — ACF runs on top of the free core plugin, which handles the secure connection.
