delete_site_email_content

FILTER wp-admin\ms-delete-site.php (ligne 89) github
Filters the text for the email sent to the site admin when a request to delete a site in a Multisite network is submitted. 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.

Paramètres

Entrée :
$content
Sortie :
@param string $content The email text.

Utilisation

// Modifier la valeur avec le filtre 'delete_site_email_content'
add_filter('delete_site_email_content', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($content) {
    // Modifier la valeur
    return $content;
}

Actualités

Chargement des actualités...