newblog_notify_siteadmin

newblog_notify_siteadmin

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('newblog_notify_siteadmin') is found 1 times:

  • /wp-includes/ms-functions.php line 1471
    	 *
    	 * @param string     $msg     Email body.
    	 * @param int|string $blog_id The new site's ID as an integer or numeric string.
    	 */
    	$msg = apply_filters( 'newblog_notify_siteadmin', $msg, $blog_id );
    
    	/* translators: New site notification email subject. %s: New site URL. */
    	wp_mail( $email, sprintf( __( 'New Site Registration: %s' ), $siteurl ), $msg );
    
    	return true;
    }