# Wordban::validate_strict_text()

Reject value if any banned whole-token (or phrase) matches.

```php
validate_strict_text( string $text, array $extra_canonical_words = array() ): ?WP_Error
```

## Parameters

- `$text` (string) Text to check.
- `$extra_canonical_words` (array<int, string>) Extra banned words/phrases merged with the defaults and option list.

## Return

`\WP_Error|null` Null when allowed.

## Changelog

| Version | Description |
| --- | --- |
| 1.3.0 | Updated |
