wp-mail.php WordPress Action Hook

The wp-mail.php hook is a powerful way to customize how your WordPress site sends email. This hook allows you to modify the headers, content, and attachments of outgoing email. You can use this hook to add a custom sender name or email address, add BCC or CC recipients, or even add custom HTML or plain text content to your outgoing emails. This hook is also useful for debugging email issues on your WordPress site.

do_action( 'wp-mail.php' ) #

Fires to allow a plugin to do a complete takeover of Post by Email.


Source

File: wp-mail.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.