Skip to:

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4729 closed enhancement (no action required)

Hook inside bp_xprofile_get_visibility_levels

Reported by: chrisclayton's profile chrisclayton Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Extended Profile Keywords:


I'd write a quick patch but svn isn't being friendly today.

Can we get a do_action hook inside the bp_xprofile_get_visibility_levels() function so that tricky developers can do something before it grabs the levels out of the global?

Change History (4)

#1 @DJPaul
11 years ago

  • Keywords reporter-feedback added

Our _get functions don't usually have do_actions because they're normally wrappers around globals. Can't you just use the bp_xprofile_get_visibility_levels filter with a higher priority?

#2 @chrisclayton
11 years ago

  • Resolution set to invalid
  • Status changed from new to closed

There are other methods to achieve the goal, yes. But I'd have much rather have an action since its more appropriate, but if we can't for consistency and standards - its all good. :)

#3 @chrisclayton
11 years ago

  • Keywords reporter-feedback removed

#4 @DJPaul
11 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.