benecaster_show_created
Fires after a new show is saved for the first time. Use this hook to trigger external integrations, create default content, or set up matching records in connected systems.
This hook fires only on the show’s very first save — subsequent saves fire [benecaster_show_updated](/hooks/benecaster_show_updated/) instead. The hook fires regardless of whether the show is created via the Setup Wizard or the Shows screen.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$show_id |
int |
— | ID of the new show post |
Examples
Create CRM record on show creation
add_action( 'benecaster_show_created', function( int $show_id ) {
my_crm_create_show( [
'wp_id' => $show_id,
'name' => get_the_title( $show_id ),
] );
} );
Notes
Show meta fields (feed slug, artwork URL, author name, language, and other custom show data) are written after the save_post hook completes. If your callback needs meta values, read them with get_post_meta() — the values will be current within the same request.