filtrod 3.0.0
delete_site_email_content
Opis — z kodu źródłowego
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.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$content | string | The email text. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'delete_site_email_content', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}
// rejestracja funkcji zwrotnej
add_filter( 'delete_site_email_content', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii