benecaster_before_episode_download
Fires before the episode page’s “Download episode” link renders, inside the episode/download template part. It fires only when the link is going to appear: the show’s download-link setting is on, the visitor can play the episode, and the episode has an audio URL. Use it to add a note or markup immediately above the link. See also benecaster_after_episode_download, and benecaster_show_episode_download 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 →