Skip to content

pubsubhubbub_hub_urls

github-actions[bot] edited this page Jan 2, 2026 · 2 revisions

DEPRECATED This hook was deprecated in version 4.0.0. Use websub_hub_urls instead.

Filter the list of hub URLs to publish updates to.

Auto-generated Example

/**
 * Filter the list of hub URLs to publish updates to.
 *
 * @param array  $hub_urls 
 * @param string $4_0_0 
 * @param string $websub_hub_urls 
 * @return array The filtered value.
 */
function my_pubsubhubbub_hub_urls_callback( array $hub_urls, string $4_0_0, string $websub_hub_urls ) {
    // Your code here.
    return $hub_urls;
}
add_filter( 'pubsubhubbub_hub_urls', 'my_pubsubhubbub_hub_urls_callback', 10, 3 );

Parameters

  • array $hub_urls List of hub URLs.
  • string $4_0_0
  • string $websub_hub_urls

Files

\apply_filters_deprecated( 'pubsubhubbub_hub_urls', array( $hub_urls ), '4.0.0', 'websub_hub_urls' )

← All Hooks

Clone this wiki locally