benecaster_before_episode_player
Fires before the episode audio player renders. Use to inject content or markup immediately above the player. $user_tier is null when the current visitor is not a subscriber. See also benecaster_after_episode_player.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$episode_id |
int |
— | ID of the episode |
$show_id |
int |
— | ID of the show |
$user_tier |
string|null |
— | Current subscriber's tier slug, or null if not subscribed |
Need this built rather than just documented? See our services →