Spam_Checker
Defines the contract for a spam checker, which can be used to determine whether a given content is considered spam.
- Full name:
\BigCommerce\Compatibility\Spam_Checker
Methods
is_spam
Checks whether the given content is spam.
public is_spam(array $content): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$content | array | The content to check for spam, typically containing fields like author name, email, etc. |
Return Value:
True if the content is considered spam, otherwise false.
Automatically generated on 2025-01-21