wp_send_new_user_notification_to_user

過濾鉤子
apply_filters( 'wp_send_new_user_notification_to_user', true, $user )

wp_send_new_user_notification_to_user: 這是一個 WordPress 內建的函式,用於向新註冊的使用者傳送通知郵件: 該函式接收一個使用者 ID 引數,並使用該使用者的資訊向該使用者傳送通知郵件。

過濾使用者是否被通知他們的新使用者註冊。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$send_notification_to_user = apply_filters( 'wp_send_new_user_notification_to_user', true, $user );
$send_notification_to_user = apply_filters( 'wp_send_new_user_notification_to_user', true, $user );
$send_notification_to_user = apply_filters( 'wp_send_new_user_notification_to_user', true, $user );

常見問題

FAQs
檢視更多 >