Title: OCMLabs Content Bridge for Magento
Author: ocmdeveloper
Published: <strong>August 6, 2026</strong>
Last modified: August 6, 2026

---

Search plugins

![](https://ps.w.org/ocmlabs-content-bridge-for-magento/assets/banner-772x250.png?
rev=3636273)

![](https://ps.w.org/ocmlabs-content-bridge-for-magento/assets/icon-256x256.png?
rev=3636273)

# OCMLabs Content Bridge for Magento

 By [ocmdeveloper](https://profiles.wordpress.org/ocmdeveloper/)

[Download](https://downloads.wordpress.org/plugin/ocmlabs-content-bridge-for-magento.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/ocmlabs-content-bridge-for-magento/#description)
 * [Reviews](https://wordpress.org/plugins/ocmlabs-content-bridge-for-magento/#reviews)
 *  [Installation](https://wordpress.org/plugins/ocmlabs-content-bridge-for-magento/#installation)
 * [Development](https://wordpress.org/plugins/ocmlabs-content-bridge-for-magento/#developers)

 [Support](https://wordpress.org/support/plugin/ocmlabs-content-bridge-for-magento/)

## Description

_Magento is a trademark of Adobe Inc. This plugin is an independent integration 
and is not affiliated with, endorsed by, or sponsored by Adobe Inc._

OCMLabs Content Bridge for Magento extends the WordPress REST API with the endpoints
a Magento 2 storefront needs to render WordPress content natively. It is the WordPress
half of the OCMLabs integration suite and pairs with the OCMLabs_WordPressIntegration
Magento 2 module.

**What it provides:**

 * Navigation menu endpoints with full nested tree structure
 * SEO metadata endpoint (supports Yoast SEO, Rank Math, or sensible defaults)
 * Sidebar and widget endpoints with rendered HTML
 * Related posts endpoint based on shared tags and categories
 * Site options endpoint (title, tagline, reading settings)
 * ACF custom field injection into post and page REST responses
 * Cache purge webhooks to Magento on content save, update, and delete

**How it works:**

Your Magento 2 store calls this plugin’s REST API endpoints (namespace `oc-bridge/
v1`) to fetch menus, SEO metadata, widgets, and related content, and renders your
WordPress blog inside the Magento storefront. When content changes in WordPress,
the plugin sends a signed webhook to your Magento store so its cache is purged immediately.

**Security:**

 * Every custom endpoint requires an API key sent in the `X-OC-Bridge-Key` header,
   compared with a timing-safe check
 * Webhooks are signed with HMAC-SHA256 via the `X-OC-Bridge-Signature` header
 * The API key is generated automatically on activation and can be rotated at any
   time from the settings page

**Companion Magento 2 extension:**

This plugin is free, self-contained, and does everything described above on its 
own. The Magento 2 side of the integration – the module that routes `/blog` URLs,
renders posts in your storefront theme, and consumes these webhooks – is a separate
commercial extension from Orange Collar Media. You do not need it to install, activate,
or use this plugin.

 * [Magento 2 extension details and pricing](https://www.orangecollarmedia.com/ocmlabs/wordpress-integration.html?utm_source=wordpress.org&utm_medium=referral&utm_campaign=ocmlabs-content-bridge-for-magento&utm_content=readme-description)
 * [Integration documentation](https://www.orangecollarmedia.com/ocmlabs/docs/modules/wordpress-integration/overview/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=ocmlabs-content-bridge-for-magento&utm_content=readme-description)

Every endpoint is plain REST returning JSON, so any client that can send an HTTP
header can consume it. Magento is simply the client it was built for.

### External Services

This plugin does not connect to any third-party service, does not send telemetry,
and contains no hardcoded external hosts.

The only outbound request the plugin makes is a cache purge webhook sent to the **
Webhook URL you configure yourself** in Settings > OCMLabs Content Bridge for Magento.
This is intended to be your own Magento 2 store. The webhook is an HTTP POST fired
when posts, pages, menus, or terms are created, updated, or deleted, and contains
the changed content’s type and ID so Magento can purge the matching cache entries.
The request is signed with HMAC-SHA256. If no Webhook URL is configured, no outbound
request is ever made.

The plugin’s REST API endpoints expose navigation menus, SEO metadata, rendered 
widgets, related posts, and basic site options (title, tagline, reading settings)
to callers that present the correct API key. The intended consumer is the site owner’s
own Magento 2 instance. Serving the API over HTTPS is strongly recommended.

### Configuration

 1. **API Key** – Auto-generated on activation. Must match the key in Magento admin.
    Use “Regenerate” on the settings page to rotate it (the new key is shown once, 
    so copy it into Magento immediately).
 2. **Webhook URL** – The Magento endpoint that receives cache purge notifications (
    e.g., https://your-store.com/wordpress/webhook/cachepurge)
 3. **Webhook Secret** – Optional shared secret for HMAC-SHA256 webhook signing. If
    set, it must match the Webhook Secret in Magento config; leave blank to sign webhooks
    with the API key.

## Screenshots

[⌊Settings page with API key management, webhook URL, and webhook secret configuration.⌉⌊
Settings page with API key management, webhook URL, and webhook secret configuration
.⌉[

Settings page with API key management, webhook URL, and webhook secret configuration.

## Installation

 1. Upload the `ocmlabs-content-bridge-for-magento` folder to `/wp-content/plugins/`
 2. Activate the plugin through the Plugins menu
 3. Go to Settings > OCMLabs Content Bridge for Magento to configure your API key and
    webhook URL
 4. Use the generated API key in your Magento 2 admin configuration

Full setup instructions, including the Magento side, are in the [installation guide](https://www.orangecollarmedia.com/ocmlabs/docs/modules/wordpress-integration/wordpress-plugin/installation/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=ocmlabs-content-bridge-for-magento&utm_content=readme-installation).

## FAQ

### Does this plugin require Magento?

No. The plugin activates and runs on any WordPress site, and its endpoints return
plain JSON to any authenticated client. It was built for one purpose though: feeding
WordPress content to a Magento 2 storefront. Without a Magento store, or another
consumer of the API, it does nothing user-visible. The [endpoint reference](https://www.orangecollarmedia.com/ocmlabs/docs/modules/wordpress-integration/wordpress-plugin/rest-endpoints/?utm_source=wordpress.org&utm_medium=referral&utm_campaign=ocmlabs-content-bridge-for-magento&utm_content=readme-faq)
documents every response shape if you want to build your own client.

### Are the API endpoints public?

No. Every custom endpoint under the `oc-bridge/v1` namespace requires the API key
in the `X-OC-Bridge-Key` header. Requests without the correct key receive a 403 
response. Core WordPress REST endpoints are unaffected by this plugin.

### Which SEO plugins are supported?

Yoast SEO and Rank Math are detected automatically. If neither is active, the SEO
endpoint falls back to sensible defaults built from the post title and excerpt.

### Does it work with Advanced Custom Fields?

Yes. When ACF is active, the plugin injects ACF field data into post and page REST
responses for authenticated bridge requests.

### What happens to my data if I uninstall the plugin?

Deleting the plugin removes all of its stored settings (API key, webhook URL, and
webhook secret). It stores nothing else.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“OCMLabs Content Bridge for Magento” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ ocmdeveloper ](https://profiles.wordpress.org/ocmdeveloper/)

[Translate “OCMLabs Content Bridge for Magento” into your language.](https://translate.wordpress.org/projects/wp-plugins/ocmlabs-content-bridge-for-magento)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ocmlabs-content-bridge-for-magento/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ocmlabs-content-bridge-for-magento/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ocmlabs-content-bridge-for-magento/)
by [RSS](https://plugins.trac.wordpress.org/log/ocmlabs-content-bridge-for-magento/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release
 * Menu, SEO, widget, related posts, and options REST endpoints
 * Cache purge webhook system
 * ACF field support
 * Admin settings page

## Meta

 *  Version **1.0.0**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.0.3**
 *  PHP version ** 8.1 or higher **
 * Tags
 * [headless](https://wordpress.org/plugins/tags/headless/)[integration](https://wordpress.org/plugins/tags/integration/)
   [magento](https://wordpress.org/plugins/tags/magento/)[rest-api](https://wordpress.org/plugins/tags/rest-api/)
 *  [Advanced View](https://wordpress.org/plugins/ocmlabs-content-bridge-for-magento/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/ocmlabs-content-bridge-for-magento/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ocmlabs-content-bridge-for-magento/reviews/)

## Contributors

 *   [ ocmdeveloper ](https://profiles.wordpress.org/ocmdeveloper/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ocmlabs-content-bridge-for-magento/)