Skip to main content

Episode Lifecycle Actions

Actions for Episode Lifecycle. Every other area is listed on the Action Hooks Reference. Each name links to its own page, with its parameters, notes and an example.

Fire as an episode moves through creation, edits to its fields, references, and custom field values, publish/unpublish transitions, and deletion.

Hook Description
benecaster_episode_created Fires after a new episode is saved for the first time
benecaster_episode_updated Fires after an existing episode is updated (post-table fields only)
benecaster_episode_meta_updated Fires after episode meta is saved; includes before/after diff of changed keys
benecaster_episode_references_updated Fires after a reference entry is created, updated, or deleted on an episode
benecaster_episode_field_values_updated Fires after custom field values are saved on an episode
benecaster_episode_published Fires when an episode’s post status transitions to publish
benecaster_episode_unpublished Fires when an episode’s post status leaves publish
benecaster_episode_deleted Fires before an episode is permanently deleted
benecaster_episode_move_before Fires when an episode is about to move to another show, after every check and before anything is written
benecaster_episode_move_after Fires after an episode has moved to another show and both feed caches are cleared
benecaster_episode_references_moved Fires during an episode move, with a map of which reference library item each cited item became in the new show
benecaster_episode_note_added Fires after a production note is added to an episode via benecaster_add_episode_note()

See Also

Need this built rather than just documented? See our services →