benecaster_podcast2_episode_auto_feed_credits
Filters the auto-injected Podcasting 2.0 feed credits for an episode before they are merged into the Feed Credits section and the feed. Starts as an empty array; add-ons push credit objects to inject read-only rows that the podcaster can see but not delete. Entry shape: {role: string, name: string, url?: string, image?: string, source: string, source_url?: string}. Recipe: guest-manager-auto-feed-credits.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$credits |
array |
— | Starts as []; each entry is {role: string, name: string, url?: string, image?: string, source: string, source_url?: string} |
$episode_id |
int |
— | Episode post ID |
$show_id |
int |
— | Show post ID |
Returns:
list<array{role: string, name: string, url?: string, image?: string, source: string, source_url?: string}>
Notes
role, name and source are all required. An entry missing any of them, or holding only spaces in one, is dropped from both the episode editor and the feed, so a credit never reaches listeners without the podcaster seeing it in the editor. Values are trimmed, and an empty url, image or source_url is left out. Anything else in an entry is ignored, as is a returned value that is not an array.
source and source_url label the locked row in the editor; neither is written to the feed. In the feed's <podcast:person> list your credits come after the show's host and before the episode's own Feed Credits, in the order you return them.
Affects
- Episode Feed Credits section in episode editor (read-only rows)
- benecaster_feed_podcast_episode_tags feed_credits key
Need this built rather than just documented? See our services →