Opened 10 years ago
Closed 10 years ago
#6232 closed enhancement (fixed)
Hook proposition - Enable or reorder group creation steps
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | Groups | 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)
#2
in reply to:
↑ 1
@
10 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
@
10 years ago
- Milestone changed from 2.3 to 2.2.2
- Summary changed from Hook proposition - Enable or reorder group creation step to Hook proposition - Enable or reorder group creation steps
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.