benecaster_before_episode_transcript
Fires before the episode page’s “Read the transcript” link renders, inside the episode/transcript template part. It fires only when the link is going to appear: the episode has a transcript URL and the visitor can access the episode. Use it to add a note or markup immediately above the link. See also benecaster_after_episode_transcript, and benecaster_show_episode_transcript to control whether the link shows.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$episode_id |
int |
— | ID of the episode |
$show_id |
int |
— | ID of the show |
Need this built rather than just documented? See our services →