user_erasure_fulfillment_email_subject

過濾鉤子
apply_filters( 'user_erasure_fulfillment_email_subject', $subject, $email_data['sitename'], $email_data )
引數
  • (string) $subject The email subject.
    Required:
  • (string) $sitename The name of the site.
    Required:
  • (array) $email_data { Data relating to the account action email. @type WP_User_Request $request User request object. @type string $message_recipient The address that the email will be sent to. Defaults to the value of `$request->email`, but can be changed by the `user_erasure_fulfillment_email_to` filter. @type string $privacy_policy_url Privacy policy URL. @type string $sitename The site name sending the mail. @type string $siteurl The site URL sending the mail. }
    Required:
定義位置
相關勾子
user_erasure_fulfillment_email_touser_erasure_fulfillment_email_contentuser_erasure_fulfillment_email_headersuser_request_confirmed_email_subjectuser_request_action_email_subject
相關方法
_wp_privacy_send_erasure_fulfillment_notification
引入
5.8.0
棄用
-

user_erasure_fulfillment_email_subject:這是一個 WordPress 過濾器鉤子,允許您修改在滿足使用者的個人資料擦除請求後傳送給使用者的電子郵件的主題行。 此鉤子在生成電子郵件時觸發,它允許您在傳送電子郵件之前修改電子郵件的主題行。

過濾刪除請求完成時傳送的電子郵件的主題。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$subject = apply_filters( 'user_erasure_fulfillment_email_subject', $subject, $email_data['sitename'], $email_data );
$subject = apply_filters( 'user_erasure_fulfillment_email_subject', $subject, $email_data['sitename'], $email_data );
$subject = apply_filters( 'user_erasure_fulfillment_email_subject', $subject, $email_data['sitename'], $email_data );

常見問題

FAQs
檢視更多 >