[buddypress-trac] [BuddyPress Trac] #8631: Pass the user ID inside the `bp_core_general_settings_after_save` hook

buddypress-trac noreply at wordpress.org
Tue Feb 1 21:10:11 UTC 2022


#8631: Pass the user ID inside the `bp_core_general_settings_after_save` hook
-------------------------+---------------------
 Reporter:  imath        |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  11.0.0
Component:  Settings     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+---------------------

Comment (by oztaser):

 I was thinking `bp_displayed_user()` function could be use for this
 requirement but also I don't see any blocker about adding parameters in to
 the action hook.

 Your patch looks great to me. I just think we can also add since
 information about new `$redirect_to` parameter. Is there any rule about
 it?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8631#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list