Skip to main content

Token and Access Filters

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

Filter the tier a user resolves to for a show, and the teaser content shown to someone who can’t access a locked episode.

Filter Description
benecaster_user_tier_for_show Filters the resolved tier slug for the current user on a given show; used by benecaster_get_user_tier_for_show(), by PreviewTierManager for Preview as Tier mode, and by [benecaster_subscribe]‘s panel for a member who already holds a plan; return a tier slug string or empty string
benecaster_teaser_content Filters the teaser content shown to users who cannot access a locked episode; fires in TeaserResolver::resolve() called from episode/content.php; Free
benecaster_signup_url Filters where the account page’s Free Plan section sends a free member to take out a paid plan; defaults to the show’s page

See Also

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