-
-
Notifications
You must be signed in to change notification settings - Fork 11
websub_denied
github-actions[bot] edited this page Jan 1, 2026
·
1 revision
Fires when a subscription is denied by the hub.
/**
* 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 );-
string$subscription_idThe subscription identifier. -
string$topicThe topic URL. -
string$reasonThe denial reason.
\do_action( 'websub_denied', $subscription_id, $topic, $reason )