Is there a way to customize the email content and subject for the welcome and verification emails sent during the registration process for WordPress? I’d like to hook or filter in without using a plugin or the “pluggable” feature.
If someone could point me in the right direction, I’d be very appreciative.
Thanks!
I’m afraid you’ll have to use the pluggable functions feature – there’s no filter or hook inside those functions (as you can see from the code below). And what’s worse, for you, it’s better to use pluggable function in a plugin.
This is because defining new pluggable function in your theme’s functions.php requests you to use a definition of a new function in a function (in order to call it as soon as all plugins are fully loaded), which may be bad (see comments below this post), but on the other hand, it works – see code below the first one.
For those who are not against plugins, here’s one which rewrites a pluggable function – just save it into my_plugin.php (or anything else) to you plugins directory and activate from your admin:
Just if you’re curious, here a the same efect managed from functions.php with a new function defined inside another function:
So I think the answer is no, you aren’t able to do this in a safe manner.
This seems like a nice idea, which would also work in functions.php:
Just watch out for the language to get the right subject string.
(Source: http://wordpress.org/support/topic/how-to-change-registration-email-content?replies=3)