apply_filters( ‘delete_site_email_content’, string $content )

In this article

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

Description

The following strings have a special meaning and will get replaced dynamically:

  • ###USERNAME### The current user’s username.
  • ###URL_DELETE### The link to click on to confirm the site deletion.
  • ###SITENAME### The name of the site.
  • ###SITEURL### The URL to the site.

Parameters

$contentstring
The email text.

Source

$content = apply_filters( 'delete_site_email_content', $content );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.