wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Filters
  5. wpdiscuz_email_subject
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors


The filter can be used if it’s need to change the subject while sending the subscription email.


Since 7.6.1 version


1. $subject – the subject of the subscription email
2. $comment – the newly added comment
3. $emailData – the data of the subscription email


add_filter('wpdiscuz_email_subject', function($subject, $comment, $emailData){
        return 'My Custom Subject';

Was this article helpful to you? Yes No