[wp-trac] [WordPress Trac] #49046: Add filter to send_confirmation_on_profile_email()
WordPress Trac
noreply at wordpress.org
Sat Dec 21 10:16:57 UTC 2019
#49046: Add filter to send_confirmation_on_profile_email()
------------------------------------+-----------------------------
Reporter: jfarthing84 | Owner: SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.4
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Comment (by wpamitkumar):
@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 );
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49046#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list