Title: Consider changing comment handler
Last modified: July 6, 2023

---

# Consider changing comment handler

 *  Resolved [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * (@cartpauj)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/consider-changing-comment-handler/)
 * Currently this plugin uses [preprocess_comment filter](https://plugins.trac.wordpress.org/browser/simple-cloudflare-turnstile/tags/1.21.3/inc/wordpress.php#L131)(
   with a priority of 10) to check the results of the captcha.
 * However, this is causing a great deal of API requests to end up hitting akismet(
   which also uses that same filter at a [priority of 1](https://plugins.trac.wordpress.org/browser/akismet/tags/5.2/class.akismet.php#L35)).
 * I’m hoping you’ll consider switching to [an earlier hook such as pre_comment_on_post](https://developer.wordpress.org/reference/hooks/pre_comment_on_post/)
   to help save on akismet requests. Many of us use paid akismet accounts where 
   api requests matter.
 * Thanks for your consideration!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/consider-changing-comment-handler/#post-16875973)
 * Thanks for the feedback [@cartpauj](https://wordpress.org/support/users/cartpauj/)–
   I will take a look into this!
 *  Plugin Author [Elliot Sowersby](https://wordpress.org/support/users/elliotvs/)
 * (@elliotvs)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/consider-changing-comment-handler/#post-16880190)
 * Hi, this has now been implemented in the latest update.
 *  Thread Starter [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * (@cartpauj)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/consider-changing-comment-handler/#post-16881559)
 * Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Consider changing comment handler’ is closed to new replies.

 * ![](https://ps.w.org/simple-cloudflare-turnstile/assets/icon-128x128.gif?rev=
   2937121)
 * [Simple CAPTCHA Alternative with Cloudflare Turnstile](https://wordpress.org/plugins/simple-cloudflare-turnstile/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-cloudflare-turnstile/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-cloudflare-turnstile/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)

 * 3 replies
 * 2 participants
 * Last reply from: [cartpauj](https://wordpress.org/support/users/cartpauj/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/consider-changing-comment-handler/#post-16881559)
 * Status: resolved