Skip to content

sare_in_group ​

php
bool sare_in_group(number $grupa)

Returns true if the current address belongs to $grupa, or false otherwise.

Warning

Requires an email address context.

Example:

if (sare_in_group(1) and sare_in_group(4)) { print("The address belongs to groups 1 and 4"); }

The result is:

The address belongs to groups 1 and 4