Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#49046 reviewing enhancement

Add filter to send_confirmation_on_profile_email()

Reported by: jfarthing84 Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch dev-feedback
Focuses: Cc:
PR Number:


To be consistent with the other user notifications, all aspects of this email should be filterable, not just the content.

Attachments (1)

49046.patch (1.8 KB) - added by jfarthing84 5 weeks ago.

Download all attachments as: .zip

Change History (3)

5 weeks ago

#1 @SergeyBiryukov
5 weeks ago

  • Milestone changed from Awaiting Review to 5.4
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#2 @wpamitkumar
5 weeks ago

@jfarthing84 I think you should use apply_filters hook as wp_new_user_notification_email instead of new_user_email_notification in your 49046.patch .

$new_user_email_notification = apply_filters( 'wp_new_user_notification_email', $new_user_email_notification, $current_user, $sitename );

$new_user_email_notification = apply_filters( 'new_user_email_notification', $new_user_email_notification, $current_user, $sitename );

Note: See TracTickets for help on using tickets.