Title: Making Code Freeze handle bbPress plugin
Last modified: August 21, 2016

---

# Making Code Freeze handle bbPress plugin

 *  Resolved [thezedt](https://wordpress.org/support/users/thezedt/)
 * (@thezedt)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/making-code-freeze-handle-bbpress-plugin/)
 * In case anyone is interested adding support to freeze bbPress (if installed) 
   as well, here’s the change needed:
 * In file **code-freeze/code-freeze.php**, find
    the **cf_close_comments()** function
   and in it, after `add_filter( 'pings_open', 'cf_close_the_comments', 10, 2 );`
   add
 *     ```
       add_filter( 'bbp_current_user_can_access_create_reply_form', cf_close_bbp_comments ); // MOD: also disable bbpress topic replies
       add_filter( 'bbp_current_user_can_access_create_topic_form', cf_close_bbp_comments ); // MOD: also disable bbpress new topic
       function cf_close_bbp_comments(){ return FALSE; }
       ```
   
 * [http://wordpress.org/plugins/code-freeze/](http://wordpress.org/plugins/code-freeze/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/making-code-freeze-handle-bbpress-plugin/#post-4106975)
 * Thanks, I added an adaptation of this code to the current version (credits in
   the changelog).

Viewing 1 replies (of 1 total)

The topic ‘Making Code Freeze handle bbPress plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/code-freeze.svg)
 * [Code Freeze](https://wordpress.org/plugins/code-freeze/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/code-freeze/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/code-freeze/)
 * [Active Topics](https://wordpress.org/support/plugin/code-freeze/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-freeze/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-freeze/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [k3davis](https://wordpress.org/support/users/k3davis/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/making-code-freeze-handle-bbpress-plugin/#post-4106975)
 * Status: resolved