New ‘Comments Are Closed’ Filter Hooks for Thesis 1.7


I was looking at the code of the newly-released Thesis 1.7 theme for WordPress, and I came across 2 filters that I hadn’t seen before:

thesis_comments_closed
thesis_comments_link_closed

I wanted to find out more about these filters, so I googled them. To my surprise…there were zero results!?

It was at that moment that I realized…the World is counting on me to demystify these mysterious mysteries, for I am the chosen one. Fear not, my fellow Thesis theme users! I will share my great wisdom with you.

Where can I find these mysterious Thesis filters?

After searching through my local copy of Thesis, I discovered that each filter was mentioned in only one location:

thesis_comments_closed: line 110
/wp-content/themes/thesis_17/lib/classes/comments.php

thesis_comments_link_closed: line 14
/wp-content/themes/thesis_17/lib/functions/comments.php

Notice that these filters are not located in the same files. I’ve highlighted the directory that sets them apart.

How are these Thesis filters defined in the code?

Here is the php code of the functions that contain the Thesis filters:

Recent Content

link to SparkToro Review

SparkToro Review

Doing effective customer research is a challenging task that requires a lot of legwork. In a typical customer research process, marketers struggle to find out where their customers hang out, what they like, who they follow, what publications they read, what podcasts they listen to, and a lot more. This shows how understanding your customer […]
link to Combin Review: How to find and maintain the interest of your target audience on Instagram

Combin Review: How to find and maintain the interest of your target audience on Instagram

This post was sponsored by Combin. Instagram has enjoyed massive growth since its inception in 2010. With over 1 billion active users, Instagram is one of the most effective social media platforms for marketing brands. It has a highly active community that makes it a potential goldmine for businesses looking to increase customer engagement. Despite the […]