delete_site_email_content WordPress Filter Hook

The delete_site_email_content hook is used to filter the content of the email that is sent to a user when their site is deleted. This hook allows you to modify the message that is sent to the user, or even prevent the email from being sent altogether.

apply_filters( 'delete_site_email_content', string $content ) #

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


Parameters

$content

(string)The email text.


Top ↑

Source

File: wp-admin/ms-delete-site.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.