wpmem_notify_addr

Description

This filter hook can override the email address that is used to send admin notification when a new user registers.  The default address used by the plugin is the address that is set in the WordPress General Settings (admin menu Settings > General).  This filter can change the email address, either single or multiple addresses.

Parameters

$email 
(string)(required) The email to send notifications to (use comma separated string for multiple emails)

Useage

[snippet slug=wpmem_notify_addr lang=php]

Changelog

  • Introduced in 2.7.5

Source

wpmem_notify_addr is located in includes/class-wp-members-email.php