formcierge_register_email_templates
Action

Since v1.0.0

Fires during plugin initialisation to allow registering custom email notification templates.

Defined in
includes/Core/Mailer.php
add_action( 'formcierge_register_email_templates', function () {
    formcierge_register_email_template( 'my-branded', [
        'label'    => 'My Branded Template',
        'template' => get_stylesheet_directory() . '/email-templates/branded.html',
    ] );
} );