After Create Group

This action runs just after a Group is created.

do_action('ProfileGrid_after_create_group',$gid);

Simple example

function PG_after_group($gid)

{

//do something with the group id.

}

add_action('ProfileGrid_after_create_group','PG_after_group');