Skip to content

sare_groups ​

php
array sare_groups()

Returns an array of groups to which the current address belongs. Takes no arguments.

Warning

Requires an email address context.

Example:

php
print_r(sare_groups());

Result:

Array
(
[0] => 2
[1] => 9
[2] => 14
[3] => 16
)