Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove group creation steps? ( invites )

  • @cj-kruger

    Participant

    Iv’e been searching the forum and google high and low and can’t find anything helpful.

    Im trying to remove the group invites creation step though have had no luck :(

    If some one knows how to do it, please let me know. Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • @etivite

    Member

    something like this (add to your theme functions php file)


    function etivite_remove_group_invites_step() {
    global $bp;

    // If we're not at domain.org/groups/create/ then return false
    if ( !bp_is_groups_component() || !bp_is_current_action( 'create' ) )
    return false;

    unset( $bp->groups->group_creation_steps );
    }
    add_action( 'bp_groups_setup_nav', 'etivite_remove_group_invites_step', 9999 );

    @iamsincere

    Participant

    @etivite I have a question, what if I wanted to combine some of the steps into like one or two steps, instead of having a screen for each step. you know? like having details, invites, slug, etc. on one step. i would say the avatar, but the upload and crop have 2 diff screens, and im not sure how difficult that would be to combine. ive been googling this for about 6 hours lol. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove group creation steps? ( invites )’ is closed to new replies.
Skip to toolbar