wpmem_email_attachments

Description

Filter hook to add attachments to emails sent through the WP-Members email function.

Parameters

$attachment
(string/array)(required) The path to an attachment.

$tag
(string)(optional) The email being sent (newreg|newmod|appmod|repass|admin).

Usage

[snippet slug=wpmem_email_attachments lang=php]

Changelog

  • Introduced in 3.4.0

Source

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