bp_remove_group_type_on_group_delete( int $group_id )

Delete a group’s type when the group is deleted.

Parameters Parameters


(int) (Required) ID of the group.

Top ↑

Return Return

(array|null) $value See bp_groups_set_group_type().

Source Source

File: bp-groups/bp-groups-functions.php

function bp_remove_group_type_on_group_delete( $group_id = 0 ) {
	bp_groups_set_group_type( $group_id, '' );

Top ↑

Changelog Changelog

Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.