WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#15186 closed enhancement (fixed)

Pass user object to user_contactmethods filter

Reported by: aaroncampbell Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0
Component: Users Keywords: has-patch dev-feedback
Focuses: Cc:

Description

It would be nice to pass the user object to the user_contactmethods filter so that different contact methods could be set up for different user roles (or user locations, etc).

Attachments (1)

15186.001.diff (2.8 KB) - added by aaroncampbell 4 years ago.

Download all attachments as: .zip

Change History (3)

aaroncampbell4 years ago

comment:1 scribu4 years ago

Sounds like a good idea.

comment:2 scribu3 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.