Change @WordPress from email address and from name sent out from website

Tento článek (nebo jeho část) je převzat z externího zdroje. Je tedy slušností jej uvést včetně případného autora.

WordPress sends a few emails out from a website including password reset emails that have a from email address they also have a from name of WordPress.

Two WordPress filters can change these values wp_mail_from and wp_mail_from_name – add the below code in your child themes functions.php and change the appropriate values.

You could also bring in option values already created in the Settings > General page and use the Blogname and Admin Email values…