enchant_dict_remove
PHP function
Edit on GitHub ✎
(PHP 8 >= 8.5.0)
Add a word to the exclusion list and remove it from the personal dictionary
Description
enchant_dict_remove(EnchantDictionary $dictionary, string $word): void
Adds a word to the exclusion list of the given dictionary, preventing it from being accepted as correctly spelled. If the word was previously added to the personal dictionary, it is also removed from there.
Parameters
wordThe word to exclude.
Return Values
Void