Description
Filters the email and some of the email settings.
Parameters
$arr
(array) (required) An array of information for the email process:
- subj – the email subject
- body – the email body/content
- user_id – the user’s ID
- user_login – the user’s username
- user_email – the user’s email address
- blogname – the name of the blog (get_option ( ‘blogname’ ))
- user_ip – the user’s IP address at registration
- reg_link – the URL of the page the user registered on
- act_link – the link to the user’s profile to activate the user
- exp_type – the user’s subscription type (PayPal Extension Only)
- exp_date – the user’s expiration date (PayPal Extension Only)
- wpmem_msurl – the URL of the User Profile shortcode page, if set
- do_shortcodes – true|false boolean to enable the WP-Members email shortcodes (default: true)
- add_footer – true|false boolean to enable adding the footer to the email (default: true)
- disable – true|false boolean to disable sending the email (default: false)
- headers – the email headers
- admin_email – the email to send notification to (pre_filtered with wpmem_notify_addr)
$wpmem_fields
(array) (optional) The WP-Members fields array.
$field_data
(array)(optional) An array of the registration data.
Usage
Changelog
Introduced in version 2.9.8
Source
wpmem_email_filter is located in inc/email.php