Description
Filters the email and some of the email settings.
Parameters
$shortcodes
(array) (required) An array of email shortcodes.
$tag
(string) (optional) The email being sent (newreg|newmod|appmod|repass|getuser).
$user_id
(int) (optional) The user ID.
[snippet slug=wpmem_email_shortcodes-defaults lang=php]
Usage
[snippet slug=wpmem_email_shortcodes-example lang=php]
Changelog
- Introduced in version 3.1.0
- 3.4.2 added user ID
Source
wpmem_email_shortcodes
is located in includes/class-wp-members-email.php.