Skip to main content

Token Lifecycle Actions

Actions for Token Lifecycle. Every other area is listed on the Action Hooks Reference. Each name links to its own page, with its parameters, notes and an example.

Fire around the feed token that gives a subscriber access — generated, accessed, reset, revoked, or presented invalid.

Hook Description
benecaster_token_generated Fires immediately after a new subscriber token is created
benecaster_token_accessed Fires on every valid feed request after the token is verified
benecaster_feed_link_requested Fires when a podcaster emails a subscriber the feed URL they already have; nothing is reset
benecaster_token_reset Fires after a subscriber’s token is reset and a new one is active
benecaster_token_reset_send_email Fires when admin selects “Reset and Send Email” (single or bulk) — but not if the show’s Feed URL reset email is switched off. To see every admin reset regardless, hook benecaster_token_reset instead
benecaster_token_revoked Fires when a subscriber’s token is revoked; $reason says why (a cancellation, a podcaster’s removal, a grant ending)
benecaster_token_invalid Fires when a feed request presents a token that fails validation
benecaster_subscriber_no_active_membership Fires when a valid token is presented but the subscriber has no active mapped membership tiers

See Also

Need this built rather than just documented? See our services →