Title: JWardee's Replies | WordPress.org

---

# JWardee

  [  ](https://wordpress.org/support/users/wardee/)

 *   [Profile](https://wordpress.org/support/users/wardee/)
 *   [Topics Started](https://wordpress.org/support/users/wardee/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wardee/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wardee/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wardee/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wardee/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wardee/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 143 total)

1 [2](https://wordpress.org/support/users/wardee/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/wardee/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/wardee/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/wardee/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/wardee/replies/page/10/?output_format=md)
[→](https://wordpress.org/support/users/wardee/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] Bulk actions don’t work after filtering emails](https://wordpress.org/support/topic/bulk-actions-dont-work-after-filtering-emails/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/bulk-actions-dont-work-after-filtering-emails/#post-18898195)
 * Hey [@eddr](https://wordpress.org/support/users/eddr/)
 * Version 2.1.12 has just been released which resolves this issue.
 * Let me know if you run into any other issues 🙂
 * James
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] Bulk actions don’t work after filtering emails](https://wordpress.org/support/topic/bulk-actions-dont-work-after-filtering-emails/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [2 weeks, 1 day ago](https://wordpress.org/support/topic/bulk-actions-dont-work-after-filtering-emails/#post-18892518)
 * Hi [@eddr](https://wordpress.org/support/users/eddr/)
 * Thanks for getting in touch, glad you like the plugin!
 * I’ve managed to reproduce the issue and have logged a bug report on our [GitHub tracker](https://github.com/JWardee/wp-mail-catcher/issues/205).
   I’ll tackle this as part of the next patch. I’m going to mark this topic as resolved
   as we use GitHub issues to track feedback.
 * Let me know if you run into any other issues 🙂
 * James
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] Failure to Log Emails with Large Content](https://wordpress.org/support/topic/failure-to-log-large-content-emails/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/failure-to-log-large-content-emails/#post-18580751)
 * Hi [@kipyegofelix](https://wordpress.org/support/users/kipyegofelix/)
 * I think this is a good idea. I’ve added this to our [GitHub tracker](https://github.com/JWardee/wp-mail-catcher/issues/203)
   so I’ll close the issue here. Feel free to leave any additional comments.
 * Cheers, James
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] Does not catch WooCommerce 10.0.4 emails](https://wordpress.org/support/topic/does-not-catch-woocommerce-10-0-4-emails/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/does-not-catch-woocommerce-10-0-4-emails/#post-18572199)
 * Hey [@gutding](https://wordpress.org/support/users/gutding/),
 * No problem, thanks for updating your post.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] WP 6.8.1 Compatibility Inquiry](https://wordpress.org/support/topic/wp-6-8-1-compatibility-inquiry/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [11 months ago](https://wordpress.org/support/topic/wp-6-8-1-compatibility-inquiry/#post-18506094)
 * Hello [@hemasusi](https://wordpress.org/support/users/hemasusi/),
 * 2.1.10 works fine but haven’t tested 2.1.7, although it should also work with
   no issues. I don’t believe WP has released any breaking changes.
 * I hope that helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] Please consider adding plain text and code view](https://wordpress.org/support/topic/please-consider-adding-plain-text-and-code-view/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/please-consider-adding-plain-text-and-code-view/#post-18263342)
 * Hey [@titsmaker](https://wordpress.org/support/users/titsmaker/), thanks for 
   your patience in waiting for me to reply to this! Both of the issues mentioned
   are currently logged in our GitHub issues ([here](https://github.com/JWardee/wp-mail-catcher/issues/172)
   and [here](https://github.com/JWardee/wp-mail-catcher/issues/123)). These bits
   have slipped down the priority list (as you say, you inquired about this a while
   ago!) but I currently don’t have any time to look into these, and I’m not sure
   when I’ll be freed up.
 * If this is high priority for you I’m happy for you to implement the features 
   yourself and open a PR. Otherwise I’ll let you know once I have an update 🙂
 * Cheers, James
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] Hide mails sent to WP admin from all expect WP admin?](https://wordpress.org/support/topic/hide-mails-sent-to-wp-admin-from-all-expect-wp-admin/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/hide-mails-sent-to-wp-admin-from-all-expect-wp-admin/#post-18179530)
 * Hi [@miikkamakela](https://wordpress.org/support/users/miikkamakela/)
 * Thank you for the suggestion, I’ve added it to our[ GitHub tracker](https://github.com/JWardee/wp-mail-catcher/issues/201)
   and will look into it further when I get some time. I’m going to mark this topic
   as resolved because I track everything through GitHub 🙂
 * Thanks again,
   James
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] PHP Deprecated Error](https://wordpress.org/support/topic/php-deprecated-error-18/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/php-deprecated-error-18/#post-17842061)
 * Hi Qilin,
 * `has_cap` isn’t used anywhere in the plugin. Could you share the stack trace 
   in your logs so we can see what led up to the error rather than just the error
   itself. Also what version of WordPress and PHP are you using?
 * Thanks,
   James
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] emails not to be saved](https://wordpress.org/support/topic/emails-not-to-be-saved/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/emails-not-to-be-saved/#post-17811175)
 * Hi [@f14m07](https://wordpress.org/support/users/f14m07/), I’ve just released
   version 2.1.9 which should solve your issue. Let me know, if it’s still a problem
   🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] emails not to be saved](https://wordpress.org/support/topic/emails-not-to-be-saved/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/emails-not-to-be-saved/#post-17810311)
 * Hey guys, [@joy0114](https://wordpress.org/support/users/joy0114/) your code 
   snippet (pasted below) looks fine to me, I’ve tested this locally and it correctly
   doesn’t log emails that have “Database Backup” in their description. The only
   thing I could imagine that could be catching you out is that it’s case sensitive–
   so “database backup” would still be logged.
 *     ```wp-block-code
       add_filter('wp_mail_catcher_before_success_log_save','my_mail_catch_filter');function my_mail_catch_filter($transformedArgs){	if (str_contains($transformedArgs['subject'], "Database Backup")) {        return false;      }    return $transformedArgs;}
       ```
   
 * [@f14m07](https://wordpress.org/support/users/f14m07/), I’ve looked into your
   issue and I’ve found a bug. I’ll release a fix this weekend and will reply here
   once it’s out
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] emails not to be saved](https://wordpress.org/support/topic/emails-not-to-be-saved/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/emails-not-to-be-saved/#post-17796825)
 * Hi [@f14m07](https://wordpress.org/support/users/f14m07/), yes your example is
   correct. If a message is sent with a subject of either `XXXXX` or `YYYYY` the
   log will not be saved. Otherwise it’ll proceed as normal.
 * If you’d like more info then an idea would be to take a look at the unit tests
   for the hook. An example of which can be seen [here](https://github.com/JWardee/wp-mail-catcher/blob/master/testing/tests/TestLogFunctions.php#L526).
   You probably couldn’t find references to the hook inside the code as all mentions
   are prefixed with a namespace. If you search the code for `_before_success_log_save`
   or `_before_error_log_save` you should find them eg [here](https://github.com/search?q=repo%3AJWardee%2Fwp-mail-catcher%20_before_success_log_save&type=code)
 * Hope that helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] emails not to be saved](https://wordpress.org/support/topic/emails-not-to-be-saved/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/emails-not-to-be-saved/#post-17790150)
 * Hey [@f14m07](https://wordpress.org/support/users/f14m07/), just letting you 
   know that this functionality has been released in v2.1.8 the hook you’ll need
   is `wp_mail_catcher_before_success_log_save` and the documentation can be found
   in the “Hooks and actions” section of the plugin page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] How to delete this plugin](https://wordpress.org/support/topic/how-to-delete-this-plugin-6/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/how-to-delete-this-plugin-6/#post-17763493)
 * Hi Nicola,
 * It’s likely been installed as a “[must use plugin](https://developer.wordpress.org/advanced-administration/plugins/mu-plugins/)“.
   You’ll need to move the plugin from the mu-plugins folder to the plugins folder
   whereby it’ll appear in the plugins menu as normal allowing you to go through
   the normal uninstall process.
 * However I must stress that there’s a risk of you breaking your site if this is
   done incorrectly. If you’re unsure I’d recommend reaching out to whoever installed
   it as an mu-plugin.
 * Because this isn’t a bug with the plugin itself I’m going to close this. I hope
   this info helps!
 * Cheers,
   James
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] emails not to be saved](https://wordpress.org/support/topic/emails-not-to-be-saved/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/emails-not-to-be-saved/#post-17524304)
 * Hi [@f14m07](https://wordpress.org/support/users/f14m07/), currently this isn’t
   possible but adding a hook to cover this is a nice idea and would also handle
   some other edge-cases. I’ve added this as a feature request on our [GitHub tracker](https://github.com/JWardee/wp-mail-catcher/issues/194),
   I’ll aim to roll this out in the next release. Not sure when that’ll be currently
   but I’ll message back here once it’s available.
 * I’m going to close this issue here as it’s much easier for me to organise this
   via GitHub 🙂
 * Cheers,
   James
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] Why am I seeing these Headers?](https://wordpress.org/support/topic/why-am-i-seeing-these-headers/)
 *  Plugin Author [JWardee](https://wordpress.org/support/users/wardee/)
 * (@wardee)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/why-am-i-seeing-these-headers/#post-17492154)
 * Hey [@gauchan](https://wordpress.org/support/users/gauchan/), I’m not sure I 
   understand, do you mean that your attached screenshot appears above the table
   of logs?
 * It’s likely there’s either another plugin or some custom code is causing this
   to appear, it would be worth right clicking on the page and going to “inspect
   element” and taking a look at the console to see if there are any JavsaScript
   errors that could point you to what’s going on.
 * I’m going to mark this as resolved as it doesn’t sound like an issue caused by
   Mail Catcher. But feel free to send more information through and I can log it
   in our GitHub tracker if it turns out to be a bug with Mail Catcher.
 * Hope that helps!

Viewing 15 replies - 1 through 15 (of 143 total)

1 [2](https://wordpress.org/support/users/wardee/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/wardee/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/wardee/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/wardee/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/wardee/replies/page/10/?output_format=md)
[→](https://wordpress.org/support/users/wardee/replies/page/2/?output_format=md)