Inline documentation for hooks in wp-admin/ms-delete-site.php.
props NikV. see #25229. git-svn-id: https://develop.svn.wordpress.org/trunk@25424 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d60cbb399e
commit
f2c1db3663
|
@ -43,7 +43,7 @@ if ( isset( $_POST['action'] ) && $_POST['action'] == 'deleteblog' && isset( $_P
|
||||||
|
|
||||||
$url_delete = esc_url( admin_url( 'ms-delete-site.php?h=' . $hash ) );
|
$url_delete = esc_url( admin_url( 'ms-delete-site.php?h=' . $hash ) );
|
||||||
|
|
||||||
$content = apply_filters( 'delete_site_email_content', __( "Dear User,
|
$content = __( "Dear User,
|
||||||
You recently clicked the 'Delete Site' link on your site and filled in a
|
You recently clicked the 'Delete Site' link on your site and filled in a
|
||||||
form on that page.
|
form on that page.
|
||||||
If you really want to delete your site, click the link below. You will not
|
If you really want to delete your site, click the link below. You will not
|
||||||
|
@ -56,7 +56,15 @@ are gone forever.)
|
||||||
|
|
||||||
Thanks for using the site,
|
Thanks for using the site,
|
||||||
Webmaster
|
Webmaster
|
||||||
###SITE_NAME###" ) );
|
###SITE_NAME###" );
|
||||||
|
/**
|
||||||
|
* Filter the email content sent when a site in a Multisite network is deleted.
|
||||||
|
*
|
||||||
|
* @since 3.0.0
|
||||||
|
*
|
||||||
|
* @param string $content The email content that will be sent to the user who deleted a site in a Multisite network.
|
||||||
|
*/
|
||||||
|
$content = apply_filters( 'delete_site_email_content', $content );
|
||||||
|
|
||||||
$content = str_replace( '###URL_DELETE###', $url_delete, $content );
|
$content = str_replace( '###URL_DELETE###', $url_delete, $content );
|
||||||
$content = str_replace( '###SITE_NAME###', $current_site->site_name, $content );
|
$content = str_replace( '###SITE_NAME###', $current_site->site_name, $content );
|
||||||
|
|
Loading…
Reference in New Issue