Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4729 closed enhancement (no action required)

Hook inside bp_xprofile_get_visibility_levels

Reported by: chrisclayton Owned by:
Priority: normal Milestone:
Component: Extended Profile Version:
Severity: minor Keywords:
Cc:

Description

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
14 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
14 years ago

  • Resolution → invalid
  • Status new → 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
14 years ago

  • Keywords reporter-feedback removed

#4 @DJPaul
14 years ago

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