Skip to main content

benecaster_email_editor_before_branding_save

Action Premium email-editor

Fires before a show’s branding is saved on the Email Editor’s Settings tab.

Parameters

Name Type Default Description
$show_id int — The show, or 0 for the site-wide design
$branding array — The branding, documented on `Templates\Branding`

Example

add_action( 'benecaster_email_editor_before_branding_save', function ( int $show_id, array $branding ): void {
    my_addon_refresh_summary();
}, 10, 2 );

Notes

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