Add new step in Group Creation Wizard
I want to conditionally add a step in the Group Creation wizard of Buddypress / Buddyboss.
In step 2 my form asks for a specific field (via a Select-box with the HTML name “group-types”).
Whenever a specific group type is selected and the user clicks “next step”, I want to add a new step inbetween conditionally on the group type field.
I found the Group Extension API which is very complicated to understand:
And I found this code:
It kind of works, but there are two things:
I’m not sure where exactly to “ask” the already made setting “group-type” for the group in the creation wizard and unfortunately the settings-page “Ville” is added at the end.
I tried to set a “position”-element in the $arg which is passed to parent::init( $args ); but this is not accepted.
Any help would be highly appreciated.
- You must be logged in to reply to this topic.