WordPress.org

Make WordPress Core

Opened 8 weeks ago

Last modified 8 weeks ago

#41968 new enhancement

Add custom email as define variable

Reported by: damithruwan1234 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8.2
Component: Mail Keywords: reporter-feedback
Focuses: Cc:

Description

Adding new define variable called custom_email in wp-config.php

Attachments (1)

wp-config.php (2.8 KB) - added by damithruwan1234 8 weeks ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
8 weeks ago

  • Component changed from General to Mail
  • Keywords reporter-feedback added

Hi @damithruwan1234, welcome to WordPress Trac! Thanks for the ticket.

What's the use case for a CUSTOM_EMAIL constant? Please note that we generally avoid introducing new constants, as they are not very flexible. New filters or actions can be introduced instead.

Note: See TracTickets for help on using tickets.