Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make…
About WebSub (FKA. PubSubHubbub)
This plugin sends real-time notifications when your blog is updated and supports multiple hubs. It also supports all feed formats used by WordPress and announces the hubs you are using in your template header and Atom feed.Screenshots

Frequently asked questions
What is WebSub?
WebSub, formerly known as PubSubHubbub, is a protocol that allows real-time notification of blog updates. It is widely adopted and used by services like Google Alerts. Subscription requests are relayed through hubs, which then distribute new and updated content to subscribers.
How does this plugin help my blog?
This plugin sends real-time notifications when you update your blog, ensuring that subscribers are immediately aware of new content. It supports various feed formats used by WordPress, not just ATOM and RSS2.
What technical specifications does the plugin support?
The plugin supports PubSubHubbub Version 0.4 and WebSub W3C Version. It also announces the hubs you are using by adding <link rel="hub" ...> declarations to your template header and Atom feed.
Which hubs does the plugin ping by default?
By default, this plugin pings the Demo hub on Google App Engine, SuperFeedr, and WebSubHub. The author can be contacted if you operate a hub that you would like to be included as a default option.
Does this plugin support multi-user WordPress installations?
Yes, this plugin supports multi-user installations, including WordPress MU. It also supports multiple hubs.
Changelog
Project maintained on GitHub at pubsubhubbub/wordpress-pubsubhubbub.
4.1.0
- Fixed the subscription verification: the
hub.challengewas sent as a JSON string, so hubs could not verify a subscription (#46) - Fixed the callback URL on sites without pretty permalinks (#46)
- Fixed the port missing in the
rel="self"link and header (#48) - Fixed signatures with uppercase hex not being accepted (#48)
- Fixed hub discovery in RSS feeds with
atom:link(#49) - Content with a missing or invalid signature is ignored when the subscription has a secret (#49)
- Subscriptions use the
rel="self"URL found during discovery ashub.topic. The subscribe actions get the requested URL as an extra argument. If you store the topic to verify a subscription, store the one fromwebsub_pre_subscribe(#49) - Discovery only reads links in the HTML
<head>and never in feed content; relative self URLs are resolved (#49) hub.lease_secondsis ignored for unsubscribe, and the secret must be a string of less than 200 bytes (#49)- The subscriber callback is a
WP_REST_Controllernow; its methods are no longer static (#46) - Modernized the code for PHP 7.4 (#46, #47)
- Raised the minimum WordPress version to 6.0
- Tested up to WordPress 7.2
4.0.1
- Fixed
http_headers_useragentfilter being applied without the required$urlargument (since WP 5.1), which could cause a fatalArgumentCountErrorwhen other plugins hook into it (props @sybrew, #36) - Raised the minimum PHP requirement to 7.4 (in line with WordPress 7.0)
- Tested up to WordPress 7.0
4.0.0
- Added WebSub Subscriber API with hooks for consumer plugins
- Deprecated all
pubsubhubbub_*hooks in favor ofwebsub_*prefix (old hooks still work) - Replaced Grunt and Docker with wp-env for local development
- Fixed double-escaping issues in feed discovery
- Improved WebSub spec compliance and PHP 8 compatibility
3.2.1
- fix: empty option on fresh install leads to broken feed links
3.2.0
- improved validating, sanitizing, and escaping
- simplified code
3.1.4
- add Content-Type header to WebSub requests
3.1.3
- update configuration files, fix typos, update dependencies
3.1.2
- add new WebSub Hub
3.1.1
- fix deprecation issue (PHP8)
- add
_deprecated_functionwarnings
3.1.0
- update wording (more consequent use of WebSub)
- add category-, tag- and author-feeds support
3.0.3
- update dependencies
3.0.2
- better
self-linkgenerator
3.0.1
- add donation button
3.0.0
- optimized the DB load
- added help section
- better code encapsulation
2.2.2
- temporarily remove comment-feed support to be more GDPR compliant
2.2.1
- display topic URLs on the settings page
2.2.0
- fixed a discovery bug
- changed http client
2.1.0
- save pinged URLs to add correct headers
2.0.0
- Complete rewrite
- Support WebSub
1.0.0
- First attempt
