recovery_mode_email

過濾鉤子
apply_filters( 'recovery_mode_email', $email, $url )
引數
  • (array) $email { Used to build a call to wp_mail(). @type string|array $to Array or comma-separated list of email addresses to send message. @type string $subject Email subject @type string $message Message contents @type string|array $headers Optional. Additional headers. @type string|array $attachments Optional. Files to attach. }
    Required:
  • (string) $url URL to enter recovery mode.
    Required:
定義位置
相關勾子
recovery_mode_email_link_ttlrecovery_mode_begin_urlrecovery_mode_email_rate_limitrecovery_mode_cookie_lengthgenerate_recovery_mode_key
相關方法
wp_recovery_mode_nagwp_recovery_modewp_is_recovery_modewp_admin_bar_recovery_mode_menuremove_menu_pageget_user_by_email
引入
5.6.0
棄用
-

recovery_mode_email 是一個過濾器,它允許你修改WordPress網站上用於恢復模式的電子郵件地址。

過濾恢復模式電子郵件的內容。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$email = apply_filters( 'recovery_mode_email', $email, $url );
$email = apply_filters( 'recovery_mode_email', $email, $url );
$email = apply_filters( 'recovery_mode_email', $email, $url );

常見問題

FAQs
檢視更多 >