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.
How to install WebSub (FKA. PubSubHubbub)
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “WebSub (FKA. PubSubHubbub)” and pick the one by joshfraz.
- 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 --activateRequirements: 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.
// 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' );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.