Raptor Content Refiner

Raptor Content Refiner

Details
View on WordPress

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.

Details

Plugin code:
raptor-content-refiner
Plugin version:
1.0.0
Author:
Outdated:
No
WP version:
5.8 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-05-29
Rating:
Times rated:
0
ai
content
formatting
readability
seo