Clanbite Social Kit General

apply_filters( 'clanbite_social_kit_group_roles', array<string, string> $roles )

Filter available group roles.

Filter PHP

Parameters

$roles (array<string, string>)

Role slug => label.

Example

add_filter( 'clanbite_social_kit_group_roles', function ( $roles ) {
	// Change $roles here.
	return $roles;
}, 10, 1 );

Defined in inc/Groups/Group_Post_Type.php