Changeset 42570 for trunk/src/wp-includes/functions.php
- Timestamp:
- 01/23/2018 01:44:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r42451 r42570 5994 5994 */ 5995 5995 function wp_site_admin_email_change_notification( $old_email, $new_email, $option_name ) { 5996 $send = true; 5997 5998 // Don't send the notification to the default 'admin_email' value. 5999 if ( 'you@example.com' === $old_email ) { 6000 $send = false; 6001 } 6002 5996 6003 /** 5997 6004 * Filters whether to send the site admin email change notification email. … … 6003 6010 * @param string $new_email The new site admin email address. 6004 6011 */ 6005 $send = apply_filters( 'send_site_admin_email_change_email', true, $old_email, $new_email );6012 $send = apply_filters( 'send_site_admin_email_change_email', $send, $old_email, $new_email ); 6006 6013 6007 6014 if ( ! $send ) {
Note: See TracChangeset
for help on using the changeset viewer.