wp_privacy_personal_data_email_content

wp_privacy_personal_data_email_content

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_privacy_personal_data_email_content') is found 1 times:

  • /wp-admin/includes/privacy-tools.php line 704
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    *     @type string          $export_file_url   The export file URL.
     *     @type string          $sitename          The site name sending the mail.
     *     @type string          $siteurl           The site URL sending the mail.
     */
    $content = apply_filters( 'wp_privacy_personal_data_email_content', $email_text, $request_id, $email_data );
     
    $content = str_replace( '###EXPIRATION###', $expiration_date, $content );
    $content = str_replace( '###LINK###', sanitize_url( $export_file_url ), $content );
    $content = str_replace( '###EMAIL###', $request_email, $content );
    $content = str_replace( '###SITENAME###', $site_name, $content );
    $content = str_replace( '###SITEURL###', sanitize_url( $site_url ), $content );