benecaster_email_editor_after_import
Fires after a design file is imported.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$result |
array |
— | `{ imported, branding, failed }` |
$target |
int |
— | The show, or 0 for the site-wide design |
Example
add_action( 'benecaster_email_editor_after_import', function ( array $result, int $target ): void {
my_addon_refresh_summary();
}, 10, 2 );
Notes
Need this built rather than just documented? See our services →