ProfileGrid Group Delete

This action runs when a group is deleted.

do_action('profilegrid_group_delete',$gid);

 

Example

function profile_magic_action_on_group_delete($gid)

{

//do something with the user id when the user's payment failed.

}

add_action( 'profilegrid_group_delete', 'profile_magic_action_on_group_delete');