WebSub (FKA. PubSubHubbub) icon
Social Media

WebSub (FKA. PubSubHubbub)

A WebSub plugin for WordPress that enables real-time publishing and subscription capabilities.

  • By joshfraz
  • v4.0.1
  • Updated

Overview

WebSub (FKA. PubSubHubbub) describes itself as: “A WebSub plugin for WordPress that enables real-time publishing and subscription capabilities.”

It is active on 100,000+ WordPress sites and rated 5.0 out of 5 by 6 users on WordPress.org. Developers can extend it through 10 actions and 23 filters, listed below.

We haven't published a hands-on review of WebSub (FKA. PubSubHubbub) yet. Want one, or need help with it? Send us a request.

How to install WebSub (FKA. PubSubHubbub)

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “WebSub (FKA. PubSubHubbub)” and pick the one by joshfraz.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install pubsubhubbub --activate

Requirements: WordPress 4.5+ · PHP 7.4+ · tested up to WordPress 7.1.4

Hooks & customisation

WebSub (FKA. PubSubHubbub) 4.0.1 fires 10 actions and 23 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

pubsubhubbub — top hooks
// Fires when a subscription request fails.
do_action( "websub_{$mode}_error", $topic_url, $subscription_id, $response );

// Filter the list of comment feed URLs to publish to the hub.
apply_filters_deprecated( 'pubsubhubbub_comment_feed_urls', … );

// Filter the list of feed URLs to publish to the hub for a post.
apply_filters_deprecated( 'pubsubhubbub_feed_urls', array( $feed_urls, $post_id ), '4.0.0', 'websub_feed_urls' );

// Filter the list of hub URLs to publish updates to.
apply_filters_deprecated( 'pubsubhubbub_hub_urls', array( $hub_urls ), '4.0.0', 'websub_hub_urls' );

// Fires after publishing an update to a hub.
do_action_deprecated( 'pubsubhubbub_publish_update_response', array( $response ), '4.0.0', 'websub_publish_update_response' );

// Filter whether to show WebSub discovery links.
apply_filters_deprecated( 'pubsubhubbub_show_discovery', array( $show_discovery ), '4.0.0', 'websub_show_discovery' );

Browse all 33 hooks with examples →

Need WebSub (FKA. PubSubHubbub) customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with joshfraz. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

Alternatives in Social Media

See all →

Formerly "Instagram Feed". Display clean, customizable, and responsive Instagram feeds from multiple accounts. Supports Instagram oEmbeds.

1+ million installs Reviewed 60 hooks
Joinchat icon

Joinchat

188

The most installed WordPress plugin for WhatsApp: a customizable floating button that turns your visitors into chats, leads and sales.

700,000+ installs Reviewed 83 hooks

WhatsApp Chat🔥. Let's make your Web page visitors contact you through 'WhatsApp', 'WhatsApp Business'. Add matching Widget✅

600,000+ installs 126 hooks

Reach more customers and drive sales on Facebook, Instagram and WhatsApp with the official Meta for WooCommerce plugin.

400,000+ installs 105 hooks