stklcode / statify-blacklist

Filter extension for the Statify WordPress plugin
https://wordpress.org/plugins/statify-blacklist/
GNU General Public License v2.0
2 stars 1 forks source link

introduce user agent filter #26

Closed stklcode closed 3 years ago

stklcode commented 3 years ago

This PR closes #20.

Introduce an additional user agent filter. This filter supports all known matching methods (exact, keyword, regex) and filters requests by user agent string.

As part of the required changes, the processing chain per filter has been refactored to reduce redundant blocks.