Raptor Content Refiner

Priskribo

Raptor Content Refiner adds a manual “Refine Content” button to both the Gutenberg block editor and the Classic Editor. When you click it, the plugin sends your content to an AI service that restructures it into a clean, SEO-friendly, and easy-to-read format.

What it does:

  • Removes unnecessary HTML tags, messy markup, and redundant elements
  • Applies proper heading hierarchy (H1 through H6 in logical order)
  • Structures content into clean paragraphs, lists, and blockquotes
  • Eliminates inline styles, empty tags, deprecated attributes, and div soup
  • Improves readability, visual clarity, and on-page SEO
  • Preserves the original meaning, intent, images, and hyperlinks

Key features:

  • Works with posts, pages, and any custom post type
  • Never runs automatically — you are always in control
  • Supports both Gutenberg (block editor) and Classic Editor
  • Compatible with WordPress 5.8 through 7.0+
  • On WordPress 7.0+, integrates with the built-in AI Client and Connectors API
  • On WordPress 5.8–6.x, provides its own settings page for API key configuration
  • Supports OpenAI, Anthropic, and Google AI providers

External Services

This plugin connects to third-party AI services to process and restructure your content. No data is sent automatically. External API calls are made only when you manually click the “Refine Content” button.

Data transmitted: Only the HTML content of the post you are editing is sent to the AI service. No personal data, metadata, or site information is transmitted.

Depending on your configuration, the plugin may connect to one of the following services:

OpenAI

  • Service: OpenAI API (https://openai.com)
  • API Endpoint: https://api.openai.com/v1/chat/completions
  • Terms of Use: https://openai.com/policies/terms-of-use
  • Privacy Policy: https://openai.com/policies/privacy-policy

Anthropic

  • Service: Anthropic API (https://www.anthropic.com)
  • API Endpoint: https://api.anthropic.com/v1/messages
  • Terms of Service: https://www.anthropic.com/legal/consumer-terms
  • Privacy Policy: https://www.anthropic.com/legal/privacy

Google AI

  • Service: Google AI Gemini API (https://ai.google.dev)
  • API Endpoint: https://generativelanguage.googleapis.com/v1beta/models/
  • Terms of Service: https://policies.google.com/terms
  • Privacy Policy: https://policies.google.com/privacy

On WordPress 7.0+, the plugin uses the built-in WordPress AI Client and Connectors API. The specific AI service used depends on which connector the site administrator has configured in Settings > Connectors.

Source Code and Build Process

This plugin’s JavaScript is bundled with @wordpress/scripts (webpack-based). The human-readable source files are included in the src/ directory inside the deployed plugin, and package.json documents the build tool and its dependencies.

To rebuild the assets from source:

  1. Install Node.js dependencies: npm install
  2. Build the assets: npm run build

This regenerates build/index.js, build/index.asset.php, build/style-index.css, and build/style-index-rtl.css from the files in src/.

The Classic Editor JavaScript (assets/classic-editor.js) and CSS (assets/classic-editor.css) are not bundled and are loaded directly — no build step is required for those files.

Instalo

  1. Upload the raptor-content-refiner folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Configure your AI provider:
    • WordPress 7.0+: Go to Settings > Connectors and configure your AI provider there. The plugin will use it automatically.
    • WordPress 5.8–6.x: Go to Settings > Raptor Content Refiner and enter your API key for your preferred AI provider (OpenAI, Anthropic, or Google).
  4. Open any post, page, or custom post type in the editor.
  5. In the Gutenberg editor, find the “Raptor Content Refiner” panel in the document settings sidebar. In the Classic Editor, find the “Refine Content” button above the editor.
  6. Click the button and wait for your content to be restructured.

OD

Does this plugin modify my content automatically?

No. The plugin only runs when you manually click the “Refine Content” button. Your content is never modified without your explicit action.

Does it work with custom post types?

Yes. The plugin works with any post type that uses the standard WordPress editor.

What AI providers are supported?

On WordPress 7.0+, any provider configured through the Connectors API is supported. On earlier versions, the plugin supports OpenAI, Anthropic, and Google AI directly.

Will it change the meaning of my content?

No. The AI is instructed to preserve the original meaning, intent, facts, and tone. It only restructures the HTML formatting and markup.

Can I undo the changes?

Yes. In the Gutenberg editor, use Ctrl+Z (Cmd+Z on Mac) to undo. In the Classic Editor, use the undo button or keyboard shortcut. The changes are not saved until you click “Update” or “Publish”.

Pritaksoj

There are no reviews for this plugin.

Kontribuantoj k. programistoj

“Raptor Content Refiner” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Traduki “Raptor Content Refiner” en vian lingvon.

Ĉu interesita en programado?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Ŝanĝprotokolo

1.0.0

  • Initial release
  • Gutenberg block editor integration with sidebar panel
  • Classic Editor integration with toolbar button
  • Support for OpenAI, Anthropic, and Google AI providers
  • WordPress 7.0 AI Client compatibility
  • Fallback settings page for WordPress 5.8–6.x