[buddypress-trac] [BuddyPress Trac] #8081: BuddyPress breaks disabling notification for new users
buddypress-trac
noreply at wordpress.org
Sat Jun 29 12:07:41 UTC 2019
#8081: BuddyPress breaks disabling notification for new users
-----------------------------------------+---------------------
Reporter: zodiac1978 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0.0
Component: Members | Version: 1.2.2
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback |
-----------------------------------------+---------------------
Comment (by zodiac1978):
Hi @imath,
this a step in the right direction. But we still need to add the
additional filter.
I was hoping for a solution which is re-using the core action hook:
{{{
do_action( 'register_new_user', $user_id );
}}}
{{{
add_action( 'register_new_user', 'wp_send_new_user_notifications' );
}}}
So that removing the function from `register_new_user` and re-hooking with
different setting is sufficient to solve this for core ''and'' buddypress.
Would this be possible? Or do I oversee something ...
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8081#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list