Removed duplicate function 'get_domain_from_url' as it's available from the newsletter generator plugin