Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

If someone can help me out in changing the Steps of group creation I would really appreciate it. The group creation steps are 1. Group details 2. Group Settings 3. Group avatar 4. Invites

Can I change this to 1. Group Details 2. Invites 3. Group Settings 4. Group avatar

please note Invite is original step 4 which I like to be on step 2. I tried playing around in bp-custom.php but dint helped. Is it possible?

share|improve this question

closed as off-topic by kaiser Aug 7 at 11:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

See function groups_action_sort_creation_steps() inside bp-groups/bp-groups-actions.php.

See $temp var, is an array, you can change her index. Default:

Array
(
    [0] => Array([name] => Details, [slug] => group-details),
    [10] => Array([name] => Settings, [slug] => group-settings),
    [20] => Array([name] => Avatar[slug] => group-avatar)
    [30] => Array([name] => Invites[slug] => group-invites)
)

Re-order:

Array
(
    [0] => Array([name] => Details, [slug] => group-details),
    [10] => Array([name] => Invites[slug] => group-invites)
    [20] => Array([name] => Settings, [slug] => group-settings),
    [30] => Array([name] => Avatar[slug] => group-avatar)
)
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.