wp-mail.php
Fires to allow a plugin to do a complete takeover of Post by Email.
Usage
add_action( 'wp-mail.php', 'wp_kama_wp_mail.php_action' ); /** * Function for `wp-mail.php` action-hook. * * @return void */ function wp_kama_wp_mail.php_action(){ // action... }
Changelog
Since 2.9.0 | Introduced. |
Where the hook is called
In file: /wp-mail.php
wp-mail.php 29
do_action( 'wp-mail.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores