delete_site_email_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.
Использование
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(строка)
- The email text.
Список изменений
С версии 3.0.0 | Введена. |
Где вызывается хук
В файле: /wp-admin/ms-delete-site.php
delete_site_email_content
wp-admin/ms-delete-site.php 82
$content = apply_filters( 'delete_site_email_content', $content );