pp_delete_group()

/**
* Delete a Permission Group

* @param array group_id
* @param array agent_type (pp_group, bp_group, etc.)
*/
function pp_delete_group( $group_id, $agent_type )

Example usage

$my_group_id = 123;
pp_delete_group( $my_group_id, 'pp_group' );

Professional publishing plugins for WordPress! Get PublishPress