Skip to:
Content
Pages
Categories
Search
Top
Bottom

P°roblem creating a group with PHP


  • Florent
    Participant

    @frappi

    Hello,

    I’m unable to create group using PHP, could you please tell me if the code is correct ?

    		// create group
    		$defaults = array(
    			'name'         => 'test',
    			'description'  => 'sdc',
    			'slug'         => 'groupes',
    			'status'       => 'public',
    			'enable_forum' => 0,
    			'date_created' => bp_core_current_time()
    		);
    		
    		groups_create_group( $defaults );

    Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘P°roblem creating a group with PHP’ is closed to new replies.
Skip to toolbar