diff --git a/packages/php/email-editor/README.md b/packages/php/email-editor/README.md index f91958fb6e..9d60f38dfc 100644 --- a/packages/php/email-editor/README.md +++ b/packages/php/email-editor/README.md @@ -56,10 +56,11 @@ We may add, update and delete any of them. ### Actions -| Name | Argument | Description | -|----------------------------------------|------------------|----------------------------------------------------------------------------------------------------| -| `mailpoet_email_editor_initialized` | `null` | Called when the Email Editor is initialized | -| `mailpoet_blocks_renderer_initialized` | `BlocksRegistry` | Called when the block content renderer is initialized. You may use this to add a new BlockRenderer | +| Name | Argument | Description | +|--------------------------------------------|------------------|------------------------------------------------------------------------------------------------------------------| +| `mailpoet_email_editor_initialized` | `null` | Called when the Email Editor is initialized | +| `mailpoet_blocks_renderer_initialized` | `BlocksRegistry` | Called when the block content renderer is initialized. You may use this to add a new BlockRenderer | +| `mailpoet_email_editor_register_templates` | | Called when the basic blank email template is registered. You can add more templates via register_block_template | ### Filters diff --git a/packages/php/email-editor/src/Engine/Templates/class-templates.php b/packages/php/email-editor/src/Engine/Templates/class-templates.php index c3c9d0e7a8..9411ff3c0a 100644 --- a/packages/php/email-editor/src/Engine/Templates/class-templates.php +++ b/packages/php/email-editor/src/Engine/Templates/class-templates.php @@ -90,6 +90,7 @@ class Templates { ) ); } + do_action( 'mailpoet_email_editor_register_templates' ); } /**