# bbPress: Tick "Notify Me of Follow-Up Replies" by Default

> Pre-ticks the subscription checkbox on new topics and replies, so members get email notifications about their own discussions unless they opt out.

- Type: PHP
- Runs: Run everywhere
- Category: [Users](https://wpide.com/library/category/users/)
- Tags: bbpress, subscriptions, notifications
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/bbpress-subscribe-by-default/

## Code

```php
if ( ! function_exists( 'bbp_is_subscriptions_active' ) ) {
    return;
}

add_filter( 'bbp_get_form_topic_subscribed', function ( $checked ) {
    // Only pre-tick when creating, not when editing an existing post.
    if ( bbp_is_topic_edit() || bbp_is_reply_edit() ) {
        return $checked;
    }

    return checked( true, true, false );
} );
```

## Notes

Members can still untick the box; existing subscriptions are not changed.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "bbPress: Tick "Notify Me of Follow-Up Replies" by Default" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
