Skip to content

ok ​

php
bool ok()

Takes no arguments and always returns true. Can be used to make code easier to read.

Example:

php
if (sare_in_group(1)) {
ok();
} else {
system_skipmessage();
}

Result:

In this example, addresses that do not belong to group 1 are skipped during sending.