newblog_notify_siteadmin

newblog_notify_siteadmin

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('newblog_notify_siteadmin') is found 1 times:

  • /wp-includes/ms-functions.php line 1471
    1467
    1468
    1469
    1470
    1471
    1472
    1473
    1474
    1475
    1476
    1477
         *
         * @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;
    }