wp/wp-admin/ms-delete-site.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    70 Thanks for using the site,
    70 Thanks for using the site,
    71 All at ###SITENAME###
    71 All at ###SITENAME###
    72 ###SITEURL###"
    72 ###SITEURL###"
    73 	);
    73 	);
    74 	/**
    74 	/**
    75 	 * Filters the email content sent when a site in a Multisite network is deleted.
    75 	 * Filters the text for the email sent to the site admin when a request to delete a site in a Multisite network is submitted.
    76 	 *
    76 	 *
    77 	 * @since 3.0.0
    77 	 * @since 3.0.0
    78 	 *
    78 	 *
    79 	 * @param string $content The email content that will be sent to the user who deleted a site in a Multisite network.
    79 	 * @param string $content The email text.
    80 	 */
    80 	 */
    81 	$content = apply_filters( 'delete_site_email_content', $content );
    81 	$content = apply_filters( 'delete_site_email_content', $content );
    82 
    82 
    83 	$content = str_replace( '###USERNAME###', $user->user_login, $content );
    83 	$content = str_replace( '###USERNAME###', $user->user_login, $content );
    84 	$content = str_replace( '###URL_DELETE###', $url_delete, $content );
    84 	$content = str_replace( '###URL_DELETE###', $url_delete, $content );