apply_filters( 'send_network_admin_email_change_email', bool $send, string $old_email, string $new_email, int $network_id )
- Since
- 4.9.0
Filters whether to send the network admin email change notification email.
Compatibility
- WordPress
- since 4.9.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$sendbool- Whether to send the email notification.
$old_emailstring- The old network admin email address.
$new_emailstring- The new network admin email address.
$network_idint- ID of the network.
Where this hook fires · 1
wp-includes/ms-functions.php:2907wp_network_admin_email_change_notification()
Source code
* * @param bool $send Whether to send the email notification. * @param string $old_email The old network admin email address. * @param string $new_email The new network admin email address. * @param int $network_id ID of the network. */ $send = apply_filters( 'send_network_admin_email_change_email', $send, $old_email, $new_email, $network_id ); if ( ! $send ) { return; } /* translators: Do not translate OLD_EMAIL, NEW_EMAIL, SITENAME, SITEURL: those are placeholders. */Changelog
Introduced in 4.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.