SAR Intelligenceby SAR-SOFT

Works with SAR

Manage WPCode with AI

Adds code snippets and header or footer scripts without editing theme files. With SAR, ChatGPT or Claude can work with WPCode on your site: drafts first, and your approval before anything goes live.

  • Plugin
  • Supported
  • 7 tools

What your AI can do with WPCode

A few of the tools it uses, with what each one needs from you.

Create a code snippet

Add a PHP, HTML, CSS or JavaScript snippet through WPCode or Code Snippets.

wordpress_create_snippetNone

Edit a code snippet

Change a snippet's title, code or location.

wordpress_update_snippetDepends on the change

Switch a code snippet on

Switch a CSS, JS or HTML snippet on so it runs on the site.

wordpress_activate_snippetApproval and password

List code snippets

Code snippets in WPCode or Code Snippets: type, where they run, whether they are on, and which SAR wrote.

wordpress_list_snippetsNone

Get a code snippet

One code snippet, with its code.

wordpress_get_snippetNone

Switch a code snippet off

Switch a snippet off.

wordpress_deactivate_snippetNone

Things to ask

Copy one into ChatGPT or Claude and fill in the brackets.

Prompt 1

List the snippets in WPCode: what each one does, where it runs and whether it is on.

Prompt 2

Add a CSS snippet in WPCode that [hides the coupon field on the cart page], then switch it on; I'll confirm with my password.

Prompt 3

Write a PHP snippet that [adds a delivery note under the price]. Leave it switched off and tell me where I switch it on.

Prompt 4

Switch the [snippet] snippet off and move it to the trash.

Set up in three steps

No password to hand over.

  1. Install SAR Intelligence

    Add the SAR Intelligence plugin to the WordPress site where WPCode is active.

  2. Connect your site

    In SAR, add the site under Connections and approve it on WordPress's own screen. Allow changes when you are ready.

  3. Ask your AI

    Add SAR to ChatGPT or Claude and ask in your own words, or start from a prompt above.

Every tool

The tools that come with WPCode, as your AI app sees them.

Every tool
ToolWhat it doesReads or changesApprovalStatus
wordpress_list_snippetsList code snippetsCode snippets in WPCode or Code Snippets: type, where they run, whether they are on, and which SAR wrote.ReadsNoneSupported
wordpress_get_snippetGet a code snippetOne code snippet, with its code.ReadsNoneSupported
wordpress_create_snippetCreate a code snippetAdd a PHP, HTML, CSS or JavaScript snippet through WPCode or Code Snippets.ChangesNoneSupported
wordpress_update_snippetEdit a code snippetChange a snippet's title, code or location.ChangesDepends on the changeSupported
wordpress_activate_snippetSwitch a code snippet onSwitch a CSS, JS or HTML snippet on so it runs on the site.ChangesApproval and passwordSupported
wordpress_deactivate_snippetSwitch a code snippet offSwitch a snippet off.ChangesNoneSupported
wordpress_trash_snippetMove a code snippet to the trashMove a snippet to the trash, where it can be restored.ChangesApprovalSupported

Start free

Install the plugin, add SAR to your AI and ask your first question within minutes. No card needed.

Connect your WordPress site

Type your site's address and we open its own plugin page, ready to install SAR Intelligence.

Prefer to install by hand? Download the plugin · how to connect it

Not on WordPress, or want to set things up first? Create your free account

Free to start · No credit card