Opened 9 years ago
Closed 9 years ago
#33008 closed enhancement (fixed)
Add action that fires when inviting a user
Reported by: | ebinnion | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Users | Keywords: | has-patch commit |
Focuses: | administration, multisite | Cc: |
Description
I am currently looking into adding WordPress.com notifications that fire when a user is invited to a site.
While it is possible to use the add_option
hook and then check that $option
is of the form new_user_
, I don't believe it is optimal.
I suggest that we add a new action that is fired during the invite user process.
Attachments (3)
Change History (10)
#1
@
9 years ago
- Focuses multisite added
- Keywords has-patch added
- Milestone changed from Awaiting Review to Future Release
- Version changed from trunk to 3.0
#2
@
9 years ago
In the proposed patch, I think the current_user
parameter can be skipped.. Any hooked functions can simply grab the logged in users details if they need that detail.
#5
@
9 years ago
- Keywords commit added
- Owner set to DrewAPicture
- Status changed from new to reviewing
#6
@
9 years ago
- Owner changed from DrewAPicture to wonderboymusic
33008.diff fixes the docs formatting and adjusts the summary to more closely explain the point of firing.
Note: See
TracTickets for help on using
tickets.
Adds invite_user action