BenecasterEpisodePrePublish
React SlotFill slot rendered in the episode editor publish flow, fired when the podcaster clicks Publish before the action is confirmed. Add-ons fill this slot to inject a pre-publish panel. If no fills are registered, the publish flow proceeds without interruption. The Email Editor add-on uses this slot to render the episode notification compose panel when per-episode compose mode is active. fillProps are the values a slot hands down to whatever component fills it — the React equivalent of the $args a PHP hook passes its callback. Register with window.BenecasterExtensions.registerFill( 'BenecasterEpisodePrePublish', MyComponent ) and your component receives them as its props, so it knows which episode and show it is rendering for without fetching anything. This slot passes episode_id and show_id. Note the underscores — most slots use camelCase (episodeId, showId) and this one does not. That is deliberate, matching the PHP-side REST API convention for these two IDs, but it does mean a component copied from another slot will read undefined here.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
episode_id |
int |
— | fillProp: ID of the episode being published (note: underscore-separated prop names, unlike most other slots) |
show_id |
int |
— | fillProp: ID of the parent show (note: underscore-separated) |