Skip to main content

benecaster_podcast_workflow_after_save_outline

Action Premium podcast-workflow

Fires once an episode’s Podcast Workflow outline has been written, on every save. It fires only once the write is done.

Parameters

Name Type Default Description
$episode_id int — The episode whose outline is being saved
$outline_html string — The outline as `` paragraphs with `` line breaks, every character escaped
$final bool — Whether the outline is marked final
$show_id int — The episode's own show

Example

add_action( 'benecaster_podcast_workflow_after_save_outline', function ( int $episode_id, string $outline_html, bool $final, int $show_id ): void {
    if ( $final ) {
        my_plugin_notify_host( $episode_id );
    }
}, 10, 4 );

Notes

The outline is internal and never published: do not put it anywhere a listener can see it. Walkthrough: Run your own code when an episode's workflow status, recording or outline changes in Podcast Workflow.

Affects

  • Workbench
  • PUT benecaster-podcast-workflow/v1/shows/{show_id}/episodes/{episode_id}/outline

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