-if (have_option('w', 'welcome')) {
- if (have_option('t', 'template')) {
- // use the provided template
- EmailRegistrationPlugin::sendConfirmEmail($confirm, get_option_value('t', 'template'));
- } else {
- // use the default template
- EmailRegistrationPlugin::sendConfirmEmail($confirm);