SAR Intelligenceby SAR-SOFT

Tidy up old code snippets in WPCode or Code Snippets

Go through the snippets added over the years, learn what each one does, switch off the ones you don't need and move the rest of the clutter to the trash.

Difficulty
Intermediate
Time
about 15 min
The prompt

List the code snippets on my site in [WPCode or Code Snippets]: type, where each runs, whether it is on and who added it. Read each one and explain in one line what it does and whether it still seems needed, for example if it refers to a plugin I no longer have. Switch off the ones I mark, and after [days, e.g. a week] of no complaints, move them to the trash.

Already connected?

If SAR is already in your AI app, this is enough:

Already connected?

Explain each code snippet in one line, switch off the ones I mark, and trash them later.

What happens

  1. The AI app lists the snippets: type, where they run, whether they are on and which SAR wrote.
  2. It reads each snippet's code and explains it in plain words.
  3. Switching a snippet off is always allowed, since it stops code from running, and can be undone.
  4. Moving a snippet to the trash waits for your approval in SAR, and it can be restored from there.

Approvals involved

Worked out from the tools this recipe uses.

  • wordpress_list_snippetsList code snippetsNone
  • wordpress_get_snippetGet a code snippetNone
  • wordpress_deactivate_snippetSwitch a code snippet offNone
  • wordpress_trash_snippetMove a code snippet to the trashApproval

What you get

Only the snippets you understand and need are left running, and the old ones are out of the way without being lost.

Try it on your own site

Install the plugin, add SAR to your AI app and paste the prompt. Free to start.

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