Make WordPress Core

Changeset 25424


Ignore:
Timestamp:
09/13/2013 09:10:18 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Inline documentation for hooks in wp-admin/ms-delete-site.php.

props NikV.
see #25229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/ms-delete-site.php

    r22108 r25424  
    4444    $url_delete = esc_url( admin_url( 'ms-delete-site.php?h=' . $hash ) );
    4545
    46     $content = apply_filters( 'delete_site_email_content', __( "Dear User,
     46    $content = __( "Dear User,
    4747You recently clicked the 'Delete Site' link on your site and filled in a
    4848form on that page.
     
    5757Thanks for using the site,
    5858Webmaster
    59 ###SITE_NAME###" ) );
     59###SITE_NAME###" );
     60    /**
     61     * Filter the email content sent when a site in a Multisite network is deleted.
     62     *
     63     * @since 3.0.0
     64     *
     65     * @param string $content The email content that will be sent to the user who deleted a site in a Multisite network.
     66     */
     67    $content = apply_filters( 'delete_site_email_content', $content );
    6068
    6169    $content = str_replace( '###URL_DELETE###', $url_delete, $content );
Note: See TracChangeset for help on using the changeset viewer.