Skip to content

Public WordPress documentation

comment

I want to add or remove a regex for comment URL filtering

September 28, 2024 by public documentation

Create a filter for the array with regexes: spartashield_is_spam_website_regexes This will sent the array $regexes, where you can modify it and return it ( don't forget to add "return $regexes;" in your function ). Adding a new regex filter Just add a new item: Deleting an existing regex filter

Categories Filters Tags comment, regex, URL Leave a comment
Filters
Filters

 

Category
Tags
Show (1)
Cancel

Recent Comments

No comments to show.
© 2025 Public WordPress documentation • Built with GeneratePress