WordPress plugin intelligence profile

Ringier-Bus

A plugin to push events to the Ringier Event Bus when articles are created, updated or deleted.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.9
Current version4.0.2
WordPress coverageTested up to WordPress 6.9
Minimum stackWP 6.0 · PHP 8.1
Directory statusactive
Last directory update23 Sept 20261mo ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Ringier-Bus version 4.0.2 as active, updated 1mo ago and tested up to WordPress 6.9.

Overview

About this plugin

A plugin to push events to the Ringier Event Bus when articles are created, updated or deleted.

AUDIENCE

This plugin is made for Ringier businesses using WordPress and wanting to benefit from Hexagon solutions available via the Ringier Event Bus. It can be implemented by developers and non-developers.

BENEFITS

The Hexagon solutions available via the Ringier Event Bus and compatible with this plugin include:

– The syncing of articles with Sailthru media library,

– The storage of article events in Ringier Datalake, from which they are retrieved by the Content Distribution Engine (CDE).

You can also benefit from the Bus tooling such as event logging, event monitoring and alerting.

com/services/business-agility/.

HOW IT WORKS

The plugin automatically triggers events when articles are created, updated and deleted.

Event names: ArticleCreated, ArticleUpdated and ArticleDeleted.

The events are scheduled to be sent to the Bus within a 1-minute delay. This is to allow WordPress to process the changes and update custom fields in the database, which is done asynchronously. You can view scheduled events by making use of the plugin “Advanced Cron Manager”.

Here is a summary of the events sent to the Bus:

– If the article is newly created, we send it INSTANTLY – sent as ArticleCreated

– But then we schedule it to run again after the normal 1 minute so that all custom data are sent properly – sent as ArticleUpdated

– For all existing articles that undergo an update, we schedule the event to run after the 1 minute interval

The plugin also creates two mandatory custom fields, available on the article editor page under “Event Bus” widget:

– The article lifetime (lifetime)

– The publication reason (publication_reason)

We also expose custom filters to help you adjust these two fields and the payload sent to the BUS endpoint, see below.

LOGS

This plugin creates a log file ( ringier_bus_plugin_error_log ), saved inside the wp-content/ folder:

The error messages are viewable via the admin UI by clicking on the submenu “LOG”.

You also have the flexibility to clear the log file via the UI itself.

php. json, before the request goes out. Off entirely without the constant.

CUSTOM FILTERS

The plugin exposes five custom filters to help you adjust the plugin’s JSON Payload that is sent to the BUS endpoint.

1. Modifying the Publication Reason

You can customize the publication reason for an article by using the ringier_bus_get_publication_reason filter. This filter allows you to modify the publication reason before it is sent to the Ringier Event Bus.

Example:

php

function custom_publication_reason(string $publication_reason, int $post_ID): string

{

// Your custom logic goes here

return 'Custom Publication Reason';

}

add_filter('ringier_bus_get_publication_reason', 'custom_publication_reason', 10, 2);

2. Modifying the Article Lifetime Payload

You can customize the article lifetime for an article by using the ringier_bus_get_article_lifetime filter. This filter allows you to modify the article lifetime before it is sent to the Ringier Event Bus.

Example:

php

function custom_article_lifetime(string $article_lifetime, int $post_ID): string

{

// Your custom logic goes here

return 'Custom Article Lifetime';

}

add_filter('ringier_bus_get_article_lifetime', 'custom_article_lifetime', 10, 2);

3. Modifying the Article Payload Data

You can customize the payload data for an article by using the ringier_bus_build_article_payload filter. This filter allows you to modify the payload data before it is sent to the Ringier Event Bus.

Example:

`php

function custom_build_article_payload(array $payload_array, int $post_ID, WP_Post $post): array

{

// Add a custom field to the payload for example

$payload_array[‘custom_field’] = ‘Custom Value’;

return $payload_array;

}

add_filter(‘ringier_bus_build_article_payload’, ‘custom_build_article_payload’, 10, 3);

`

4. Controlling Author Event Dispatch

You can control whether the Ringier Bus plugin should dispatch Author events for a specific user by using the ringier_bus_should_dispatch_author_event filter.

This filter allows you to override the default logic to force enablement or disablement based on your own custom logic – when you want full control over which authors get sent to the Event Bus.

Example:

`php

/**

* Example: Prevent event dispatch for a specific user ID.

*/

add_filter(‘ringier_bus_should_dispatch_author_event’, function (bool $should_dispatch, int $user_id): bool {

// Example: Always send events for Administrators, ignoring the "Show Profile" checkbox if (user_can($user_id, 'administrator')) { return true; }

// Example condition: never sync user ID 1234 if ($user_id === 1234) { return false; }

// Otherwise, use the default logic return $should_dispatch;

}, 10, 2);

`

This filter gives you full flexibility to:

– Disable syncing for certain authors

– Force syncing regardless of profile visibility

, staging vs production)

– Implement client-specific dispatch policies

5. Modifying the Article Images

You can adjust which images an article dispatches by using the ringier_bus_article_image_ids filter.

The plugin resolves the non-hero images of an article from the article body, identifying each by the <img> that shows it. This filter receives those attachment IDs just before they become payload entries.

The featured image is not in this list — it is dispatched separately as the hero entry.

Example:

`

add_filter(‘ringier_bus_article_image_ids’, function (array $image_id_list, int $post_ID, string $content): array {

// Example: never dispatch a specific attachment $image_id_list = array_diff($image_id_list, [1234]);

// Example: append an image the body does not reference $image_id_list[] = (int) get_post_meta($post_ID, 'my_extra_image_id', true);

return $image_id_list;

}, 10, 3);

`

Anything returned is re-sanitised — non-numeric values, zeros and duplicates are dropped, and each remaining ID must still be an image attachment. The featured image is deliberately not re-excluded, so this hook can add an image the body does not reference.

Contributing

There are many ways you can contribute:

– Raise an issue if you found one,

– Provide us with your feedback and suggestions for improvement,

– Create a Pull Request with your bug fixes and/or new features. com/RingierIMU/mkt-plugin-wordpress-bus

Credits/Thanks

1) Wasseem Khayrattee – for creating and maintaining the plugin

2) Mishka Rasool – for conceiving/creating the banner and logo asset files

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • api
  • bus
  • cde
  • ringier
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.9
Minimum requirementsWordPress 6.0 · PHP 8.1
Update activity23 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version4.0.14.0.2
WordPress compatibility6.9.76.9.9
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.