Opened 11 years ago
Closed 11 years ago
#33008 closed enhancement (fixed)
Add action that fires when inviting a user
| Reported by: | ebinnion | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Users | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | administration, multisite |
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
@
11 years ago
- Focuses multisite added
- Keywords has-patch added
- Milestone Awaiting Review → Future Release
- Version trunk → 3.0
#2
@
11 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.
#6
@
11 years ago
- Owner changed from to
33008.diff fixes the docs formatting and adjusts the summary to more closely explain the point of firing.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adds invite_user action