delete_site_email_content filter-hookWP 3.0.0

Filters the text for the email sent to the site admin when a request to delete a site in a Multisite network is submitted.

Usage

add_filter( 'delete_site_email_content', 'wp_kama_delete_site_email_content_filter' );

/**
 * Function for `delete_site_email_content` filter-hook.
 * 
 * @param string $content The email text.
 *
 * @return string
 */
function wp_kama_delete_site_email_content_filter( $content ){

	// filter...
	return $content;
}
$content(string)
The email text.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

In file: /wp-admin/ms-delete-site.php
delete_site_email_content
wp-admin/ms-delete-site.php 83
$content = apply_filters( 'delete_site_email_content', $content );

Where the hook is used in WordPress

Usage not found.