Skip to content
github-actions[bot] edited this page Jan 1, 2026 · 1 revision

Fires when a subscription is denied by the hub.

Auto-generated Example

/**
 * Fires when a subscription is denied by the hub.
 *
 * @param string $subscription_id 
 * @param string $topic 
 * @param string $reason 
 */
function my_websub_denied_callback( string $subscription_id, string $topic, string $reason ) {
    // Your code here.
}
add_action( 'websub_denied', 'my_websub_denied_callback', 10, 3 );

Parameters

  • string $subscription_id The subscription identifier.
  • string $topic The topic URL.
  • string $reason The denial reason.

Files

\do_action( 'websub_denied', $subscription_id, $topic, $reason )

← All Hooks

Clone this wiki locally