Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

#6232 closed enhancement (fixed)

Hook proposition - Enable or reorder group creation steps

Reported by: natrio Owned by: boonebgorges
Priority: normal Milestone: 2.3
Component: Groups Version: 2.2
Severity: normal Keywords: needs-patch
Cc:

Description

/bp-groups/bp-groups-actions.php line 413 at this end of the function i added this hook: do_action('groups_action_sort_creation_steps');

This is needed if you want:

  • remove a step in group creation workflow
  • Reorder the step in group creation workflow

Then, you are able to edit the $bp->groups->group_creation_steps variable.

Change History (5)

#1 follow-up: @boonebgorges
11 years ago

  • Milestone 2.2.22.3

Hi natrio - I'm not sure I understand from the line numbers where you want the action. Do you mean right at the end of the groups_action_sort_creation_steps() function? If so, I agree it would be nice to do something here. Just want to confirm before moving ahead with it.

#2 in reply to: ↑ 1 @natrio
11 years ago

Replying to boonebgorges:

Hi natrio - I'm not sure I understand from the line numbers where you want the action. Do you mean right at the end of the groups_action_sort_creation_steps() function? If so, I agree it would be nice to do something here. Just want to confirm before moving ahead with it.

Hi boonebgorges,
Yes, the action should be placed at the end of the groups_action_sort_creation_steps() function.

#3 @natrio
11 years ago

  • Milestone 2.32.2.2
  • Summary Hook proposition - Enable or reorder group creation stepHook proposition - Enable or reorder group creation steps

#4 @johnjamesjacoby
11 years ago

  • Milestone 2.2.22.3

Moving back to 2.3.

2.2.2 is for urgent fixes to the 2.2 branch.

#5 @boonebgorges
11 years ago

  • Owner set to boonebgorges
  • Resolutionfixed
  • Status newclosed

In 9516:

Introduce 'groups_action_sort_creation_steps' action.

Props natrio.
Fixes #6232.

Note: See TracTickets for help on using tickets.