Skip to content
Integration

WPCode

WPCode is a powerful WordPress code snippet plugin that makes it easy for you to add custom WordPress features using code snippets without editing your theme’s functions.php file. It comes with a ready-made code snippets library as well as support for adding your own code snippets.

Recipe items

What you can automate with WPCode

Every recipe has two parts: a trigger that starts it and the actions it runs. Use these with any other plugin or app.

Triggers

A trigger starts a recipe. When it happens on your site, the recipe runs.
ProA snippet is deactivated

Tokens you can use in the next steps Data from triggers that can be used in a recipe's actions, making them much more powerful and customizable.

  • Snippet ID
  • Snippet title
  • Code type
  • Code
  • Insert Method
  • Location
  • Tags
  • Priority

Actions

An action is what the recipe does once it starts, like sending an email or adding a tag.
LiteActivate a snippet

Tokens you can use in the next steps Data from actions that can be used in other actions, making automations much more powerful and customizable.

  • Snippet name
  • Snippet code
  • Code type
  • Device type
  • Insert method
  • Location
  • Author
  • Tags
  • Priority
  • Note
LiteDeactivate a snippet

Tokens you can use in the next steps Data from actions that can be used in other actions, making automations much more powerful and customizable.

  • Snippet name
  • Snippet code
  • Code type
  • Device type
  • Insert method
  • Location
  • Author
  • Tags
  • Priority
  • Note
ProCreate a code snippet
ProRun an on-demand code snippet

AI abilities

What your AI app (ChatGPT, Claude and others) can do in this plugin once it is connected to Uncanny Automator.
Detect Snippet ErrorsCheck whether WPCode's error handler has flagged a specific snippet, and get the failure details.
Get Error LogsPull the full stack trace and file list of recent snippet-related failures site-wide.
Get WPCode SettingsRead WPCode's global settings, including plugin version and Safe Mode status.
List Code SnippetsGet a summary of every WPCode snippet, its status, and whether it's currently erroring.
Search WPCode LibrarySearch the WPCode Cloud Library of pre-built snippet templates by keyword.

Connect your AI

Ask your AI to set up WPCode for you

ChatGPT, Claude, Gemini, Copilot, Perplexity or any AI app that supports remote MCP servers. Ask in plain English and it gets done.

When an instruction is received via incoming webhook, enable or disable a snippet

When a subscription expires, disable a code snippet

When an onboarding form is submitted, turn on a WordPress code snippet

Connect your AI to ask anything…

No AI subscription? Uncanny Agent is built in.

Related articles

Learn more about WPCode

Guides from our blog and the knowledge base.

Automator 6.4: Facebook Lead Ads, Bluesky, and Powerful eLearning Enhancements

Blog post · April 8, 2025

Read the article

What’s new in Automator Pro 5.9

Blog post · July 2, 2024

Read the article

Get started

Install free. Connect your AI.

Install the free plugin, connect your AI, and ask for the first thing on your list.
Every recipe you build keeps running without the chat.

This page may contain affiliate links. Once in a while, we may earn a commission from those links. But with or without commissions, we only recommend products we like.
Back To Top